Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: help on SMTP
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help on SMTP



On Tue, 20 Mar 2007 07:00:40 +0000,
Chris Newman (email@hidden) wrote:


>Elango C wrote on 3/20/07 9:37 +0530:
>> I would like to write a code to send the mails from my application. Can any
>> one help me on this...
>
>The standard protocol for message submission is here:
>  <http://www.apps.ietf.org/rfc/rfc4409.html>
>
>which is based on the SMTP standard:
>  <http://www.apps.ietf.org/rfc/rfc2821.html>
>
>You can use CFNetwork to make the network connection if you want the
>ability to do more secure (SSL/TLS) submission:
>
><http://developer.apple.com/documentation/Networking/Conceptual/
>CFNetwork/Introduction/chapter_1_section_1.html>

CFNetwork gives you a nice abstraction layer over BSD sockets,
and is easier to work with, especially in the context of a run
loop-based application, but in order to submit a message to an
SMTP server with CFNetwork, you still need to write a substantial
amount of code.

You may want to use a third-party framework instead.  One such
framework is Pantomime (<http://www.collaboration-world.com/pantomime>).
It's free, open-source (LGPL license), relatively well supported,
does SMTP, SSL/TLS and MIME.  It's written in Objective C, but it's
not that hard to use it in a Carbon application.


                                     -- marco

--
It's not the data universe only, it's human conversation.
They want to turn it into a one-way flow that they have entirely
monetized. I look at the collective human mind as a kind of
ecosystem. They want to clear cut it. They want to go into the
rainforest of human thought and mow the thing down.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >help on SMTP (From: "Elango C" <email@hidden>)
 >Re: help on SMTP (From: Chris Newman <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.