Is there any email API for iPhone?

Discussion in 'iOS Programming' started by adeesh, Dec 12, 2008.

  1. adeesh
    Expand Collapse
    macrumors newbie

    Joined:
    Sep 11, 2008
    #1
    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
     
  2. robbieduncan
    Expand Collapse
    Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    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.
     
  3. Manty
    Expand Collapse
    macrumors member

    Joined:
    Mar 18, 2008
    Location:
    Lisbon, Portugal
  4. adeesh
    Expand Collapse
    thread starter macrumors newbie

    Joined:
    Sep 11, 2008
    #4
    Is there any way to send attachment with the mail method?

    thanks
    adeesh jain
     
  5. Manty
    Expand Collapse
    macrumors member

    Joined:
    Mar 18, 2008
    Location:
    Lisbon, Portugal
    #5
    No, you can't send attachments with the mailto method.
     
  6. beachdog
    Expand Collapse
    macrumors member

    Joined:
    Aug 10, 2008
    #6
    Has anyone tried sending an attachment using uuencode? Just wondering if that would work
     
  7. Jeremy1026
    Expand Collapse
    macrumors 68020

    Jeremy1026

    Joined:
    Nov 3, 2007
    #7
    Good find.
     
  8. softwareguy256
    Expand Collapse
    macrumors regular

    Joined:
    Jun 5, 2010
    #8
    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.
     
  9. dejo
    Expand Collapse
    Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #9
    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.
     
  10. softwareguy256
    Expand Collapse
    macrumors regular

    Joined:
    Jun 5, 2010
    #10
    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?
     

Share This Page