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.
iCloud Mail uses the IMAP and SMTP standards supported by most modern email client apps. iCloud Mail does not support POP.
The primary difference is that POP downloads emails from the server for permanent local storage, while IMAP leaves them on the server while caching (temporarily storing) emails locally. In this way, IMAP is effectively a form of cloud storage.
IMAP and POP are both ways to read your Gmail messages in other email clients. IMAP can be used across multiple devices. Emails are synced in real time. POP can only be used for a single computer.
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/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With