How to add IMAP/POP3 support to my app?

Discussion in 'iOS Programming' started by rubyruby, Jan 28, 2009.

  1. rubyruby macrumors member

    Joined:
    Jan 28, 2009
    #1
    Hello guys,

    do you have any hints on adding IMAP and/or POP3 support to my app (it's a lightweight notifier)?

    I've found nothing on google. The only thing, that could work: Including libvmime, which is a C++ library and awfully complex to use with the iPhone.

    Thanks for reading.

    Regards,

    rubyruby
     
  2. caveman_uk Guest

    caveman_uk

    Joined:
    Feb 17, 2003
    Location:
    Hitchin, Herts, UK
    #2
    As there's no support for that in the SDK you'll either have to write your own client or one someone's already written. Either way it's going to be non-trivial.

    Incidently...a notifier? You do know you can't run apps in the background (at least officially).
     
  3. rubyruby thread starter macrumors member

    Joined:
    Jan 28, 2009
    #3
    Oh yes, that's true :(
    Do you have some resources for starting to develop an own IMAP implementation? I've searched for socket programming on the iPhone, but that wasn't successful at all.


    Yes, users are supposed to leave the application running. That's ok for my purposes. :)
     
  4. rubyruby thread starter macrumors member

    Joined:
    Jan 28, 2009
    #5
    I've considered to use Pantomime, too. But then I've found out, that
    it requires the Cocoa Framework.

    Is there any chance to run it on the iPhone. I've read in many forums posts,
    that people despaired while trying it. I haven't found any person, who managed to get it working. But maybe it's possible?
     
  5. caveman_uk Guest

    caveman_uk

    Joined:
    Feb 17, 2003
    Location:
    Hitchin, Herts, UK
    #6
    It depends how much of 'Cocoa.h' it actually needs. You may well need to do a bit of work but see how far you get by using 'Foundation.h' and maybe UIKit.h as well.
     
  6. rubyruby thread starter macrumors member

    Joined:
    Jan 28, 2009

Share This Page