Email sending from iOS - objective-c

Can I send email messages from my iPad application without using MFMailComposeViewController? Its possible to use SBSendMail in iOS?

No, there is no other native way to send e-mails except with MFMailComposerViewController.
No, you cannot use SBSendMail as that is only available on Mac (and is just a demo, BTW).
You could implement your own SMTP client to interface with a mail server (which would be a lot of work) or maybe there's an implementation out there that you could port, but it still wouldn't be of any use to you as you can't query which e-mail server(s) are configured in the iPhone/iPad.

To send mail in iOS, you need to use MFMailComposeViewController. SBSendMail is for sending mail in Mac OS.
Check this link.

You can now to this using URL schemes in iOS. You would specific the url scheme of the app you wanted to use, and call UIApplication.shared.openURL(url) on it.
I have written a blog post on this matter here if you wanted a closer look

Related

Does GCM support notifications over SMS

I'm working on a project that respond to users by sending SMS for their request.
Right now I use telerivet for forwarding the SMS to my back end.
I want to know whether I can use GCM to send SMS notification.
Just to add to what #Nilesh already said, you can actually check if a certain app would provide SMS services. Simply look into the uses-permissions in its manifest.
As you can see in the required components of the GCM manifest, it does not require SEND_SMS or RECEIVE_SMS permissions, which you would have needed to support sending or receiving SMS, respectively.

Sending mails from app in OSX

What's the best way to send an e-mail from my OSX app.
I'm developing a app and i need to send an invoice by mail to my customers.
I've been looking on the internet for information but most of the info is for IOS.
Can you use a server to send your e-mail ? Not only server but one server-side application to due that.. did you can you a java application with SES (AWS Amazon) integration or google app engine solution for example.
There are lots of different ways to do this, from connecting to a server yourself and sending the appropriate headers and encoded body to the very easiest which is just opening a mail url, which will invoke the default behavior...
[[NSWorkspace sharedWorkspace] openURL:[NSURL urlWithString:#"mailto://bob#example.com?subject=test"]];

Is there a way to send WhatsApp messages from desktop / server box?

I need online notifications from an enterprise information system.
Exists a way to send messages via WhatsApp instead SMS?
(I work with linux)
I have digging stackoverflow for an answer unsuccessfully.
to send server status to you. pushover alternative: node-xmpp-client with facebook sample and register fake facebook account
They are not official API neither a tool to send messages programmatically.

Is there an API for POP/IMAP in iOS?

In my app I need to access mail programmatically without using a MFMailComposeViewController. I have sent email with the help of SKPSMTPMessage from google code. Now I have to connect and check mail via POP3 or IMAP. Is there an API to download mail using POP3 or IMAP? I am not looking for a way to interface with Mail.app.
Thanks in advance.
You can try MailCore. MailCore supports SMTP and IMAP
I tried MailCore and reMail a year ago and it was too complex for me. I don't know if they improved now, but at that time I just gave up on them and written my own code. I uploaded it to sourceforge now, so whoever finds this discussion in google is welcome to try it.
https://sourceforge.net/projects/imap4ios/

How does AlertListener work on Blackberry API 5.0?

Does the AlertListener interface works globally on all alerts on the blackberry device, or does it only work with alerts generated by your application?
In other words, can I use this interface to listen when the phone generates any alert (ie. SMS, Email, Blackberry Messenger, third party app alerts, etc.)?
Let me know,
Regards
If it's like other listeners such as FileSystemListener then it should work for alerts generated outside of your application as well. The best way to find out is it try it! :)