Search code examples
objective-ccocoaemailemail-client

How to login to an email provider from objective-c?


I'm working on an app that uses an email log in form within the app.

my goal is to have the application take the String from the text field (quite easy) and then post it somehow to the email provider's website's log in form, does anyone know how I might do this? and if not, does anyone have any links I might find useful?

P.S. I am writing this email client for Mac OSX, not iPhone.


Solution

  • This is generally not how you want to do this.

    Email clients access/send the users' emails using protocols such as SMTP, POP3, or IMAP, and not by interacting with the web interface of the email provider.

    You could try using a library like VMime, which should let you connect to your users' mailboxes using the above protocols.