Is there an API for POP/IMAP in iOS?
Asked Answered
S

2

7

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.

Scrivens answered 20/1, 2011 at 5:5 Comment(7)
You cannot access the mail database in Mail.app, if that's what you're asking.Hereditary
In my app having user's mail id and password .and i need to show inbox of that particular account without configure in mail.appScrivens
There is no Apple-provided implementation of POP/IMAP/SMTP. If you need any of this you will need to resort to third-party code or writiNg it yourself.Monadism
thank u for info.i have found SKPSMTPMessage api for sending mail like wise any api for reading inbox and delete inbox mail after readScrivens
@josh thanks to edit and make my question much more clearScrivens
@asta no problem, I'm happy to help! It's the least I can do when I don't know the answer :-)Tensity
any idea about libetpan c library .i found that that s useful for mail client writing .how to start my work with libetpan ?? any tutorialScrivens
T
11

You can try MailCore. MailCore supports SMTP and IMAP

Tiphani answered 26/1, 2011 at 3:7 Comment(0)
L
2

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/

Liquefacient answered 8/6, 2013 at 9:46 Comment(5)
imap4ios will support POP?Schlicher
@gnawer, any plan to support POP3?Islek
Sorry guys, no plans to extend the functionality right now. Currently it's as it says - IMAP only.Liquefacient
Is there a way to compose a mail using imap4iosWindsucking
@Windsucking IMAP is for getting emails only. Sending emails could be POP or SMTP.Judkins

© 2022 - 2024 — McMap. All rights reserved.