receive Mail in ios - ios

is there a way receive an E-Mail in an iOS app, for example to get a notification if an E-Mail on an specified Account comes in?
If no ist is at least possible to read-access the mailstore?
Is there a Lib, to interpret the content of an email.

Due to Apple's sandboxing regulations, you cannot access the built-in Mail program's properties from your app.
You could use a 3rd-party API to connect to a email service (e.x. Gmail) directly through their server, and not Apple's mail program.

You cannot access the built-in Mail program's settings or properties.
You can, however, make network connections from your app, and could easily use a web service API to check the mail on a remote mailbox.

Related

How VoIP apps like Viber, Skype,.. work when user's IP changed?

I'm currently researching about how to make an iOS VoIP app and I wondering how user1 of Skype, Viber, Facebook Messengers... can reach to other user in contact list? In my case, the users can request a call to admins. Then admins can call back to them with their IP address they were request to server.
The big problem is if users connected to a Wi-Fi to request a call to server, app will send their ip address to admins. But if they have to connected to another Wi-Fi, their IP address will difference with the older.
I don't know how to check when user's IP was changed. And how to update the IP if it occurs. Does anyone faced this problem and can you guys give me some solution about this problem?
For this you have to configure many things.
Usually Skype, Viber, Facebook Messengers configure things like below.
Ideally there should be target on specific IP or something.
That end point to get connect in video call has to configured and come from server end
https://www.vidyo.com/ is really good platform, though have SDK in C++ so in any technology you can configure it easily
To know online / offline user's, better approach is websocket
list of user will also based on websocket or API response
Good platform for websocket - https://github.com/tidwall/SwiftWebSocket
Pushkit is also required thing, when app is in killed ( Terminated ) state then using pushkit silent notification with local notification you can notify user about incoming call

Is there any way in slack api to add interactive buttons without a slack app

I'm new to the slack api. I was thinking about posting an interactive message to my team channel via an incoming webhook. But the docs say that for an incoming message to work, it requires an app to be created with Interactive messages enabled. Is there any workaround to make it happen without the app?
No, it is not possible, you need an app (this does not mean you'd have to make your app public, mind you)
Posting messages with buttons requires registering a Slack app.
Interactive messages cannot be posted using a custom integration.

Read emails from the Mail App on an iOS device

I am required to read and download emails from the Mail App on an iOS device. I understand that it is possible to fetch emails from the email servers but my requirement is to have access to the emails from all the accounts that have been configured in the Mail App on the device. Is this possible? If yes, how do I implement it?
You can't.
You can send emails using the Message UI framework, but there is no way to access content in the iOS Mail application from another app.

Sending text message SMS without user intervention

Is it possible to send sms via iphone without user intervention? I already know about MessageUI framework and MFMessageComposeViewController class, but this option requires user to click Send button when MGMessageComposeViewController is presented. I would like the device to automatically, without my help send a text message when certain conditions are met. (I have some sensors connected to the device)
No. You can only open a message ready to send but you cannot send it automatically.
If you want to be able to send sms without user's interaction, consider using some third party gateway. TextMagic provides nice api to send sms, but it is not free. At some point it charges you money. But, they have nice and simple api to use.
Look at this,
http://api.textmagic.com/https-api/textmagic-api-commands#send

Asterisk registration programmatically

I am trying to implement Asterisk server for VOIP in an iPhone application.
I am able to register the user through manually, but I wanted to do the same thing programmatically. I am not sure but there might be some idea like sending through an HTTP request.
If you have any idea or pointer please share with me.
Thanks
I think the thing that you are looking for is called SIP client. You install the client on the iPhone and it will register to your SIP server (let it be Asterix or anything else). Then you can make VoIP calls between the clients registered contemporary, send instant messages, exchange files or even implement some custom protocol over SIP to exchange other type of data.
There are a lot of SIP client applications for iPhone, and even a couple of SIP stacks that is a framework that allows you to build your own SIP client application through its API calls, so you will have full control on everything. One of the most mature of these with iPhone support is pjsip. Check out their web site to see whether this is what you are looking for.
it is hard because is necessary modify the dial plan in order to add a sip account. but you can program a web service that read a text file with the extensions from your mobile.
it is nto fully clear from your desription what exactly you want, but probably this one will help
http://www.voip-info.org/wiki/view/Asterisk+auto-dial+out

Resources