• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: E-Mail Client Code Suggestions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: E-Mail Client Code Suggestions


  • Subject: Re: E-Mail Client Code Suggestions
  • From: Steve Luzynski <email@hidden>
  • Date: Tue, 27 Jul 2004 22:03:05 -0500

On Jul 26, 2004, at 11:37 PM, Ed Sutherland wrote:

I am an old 'C' coder now experimenting with recreational Cocoa development. (In other words, I don't develop for a living.) With that said, I have a question:

I want to develop an e-mail client along the lines of Mozilla's Thunderbird, but without the news baggage. Can someone point me in the direction of code samples showing me how to connect to a mail server and query whether there are waiting messages? Thanks for any help.

Thunderbird wouldn't be the worst place to start, actually...

Beyond that, the protcol specs are:

POP3 - RFC1939 - www.faqs.org/rfcs/rfc1939.html
IMAP4 - RFC 3501 - www.faqs.org/rfcs/rfc3501.html

POP3 is really easy, there are very few verbs. IMAP is a bit more interesting, but still a reasonably straightforward protocol.

Most internet protocols are text based. POP3, for example, at its most basic, looks like:

open tcp connection to mailserver port 110
wait for +OK
user <username>
wait for +OK
pass <password>
wait for +OK
list to get a list of messages, etc.

Like I said, pretty simple. Once you're familiar with the RFC you can check your email from a telnet prompt. :)

Also check out http://www.opengroupware.org/. They have fully fleshed out POP3, SMTP, and IMAP implementations in Objective C (although not necessarily Apple specific per se) to look at.

-Steve
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >E-Mail Client Code Suggestions (From: Ed Sutherland <email@hidden>)

  • Prev by Date: Re: earliest code that runs?
  • Next by Date: Re: Who should release whom in a document-based app?
  • Previous by thread: Re: E-Mail Client Code Suggestions
  • Next by thread: PrivateFramework: What is @protocol question.
  • Index(es):
    • Date
    • Thread