Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

adeesh

macrumors newbie
Original poster
Sep 11, 2008
4
0
Hello,

Is there any email API for the iPhone? I was looking on all the resources provided by the Apple. But i didn't find any API for email support in iPhone.

Can anyone please tell me is there any inbuilt support for the email functionality in iPhone?

thanks
adeesh jain
 
There is the mailto: URL protocol as described in the documentation. That is it: there is no other API, way to attach anything etc unless you do all the mail stuff yourself.
 
Is there any way to send attachment with the mail method?

thanks
adeesh jain
 
Has anyone tried sending an attachment using uuencode? Just wondering if that would work
 
K it's been two years any new APIs out there? I'm scouring the net for a lightweight IMAP API, I found a few open-source ones but they all require bulky OpenSSL. I'm trying to write a program that analyzes incoming email and makes realtime decisions based off of it. Would like capability to read and send emails.
 
Wirelessly posted (Mozilla/5.0 (iPod; U; CPU iPhone OS 3_1_3 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7E18 Safari/528.16)

Sending emails there are new APIs for. Reading emails: not so much.
 
Right now I'm triyng to implement a very basic IMAP client (RFC 3501) using a light-weight embedded SSL implementation. It looks like there's a lot of stuff I need to implement, the parsing of the parentheses and multi-part MIME decoding. There's gotta be a better way!

I found a few open-source IMAP clients but they are either really hard to compile or suffer from dependency hell: requiring GTK, OpenSSL, etc... Do I just bite the bullet and link in that blob known as OpenSSL or is there a simple lightweight IMAP client out there?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.