PDA

View Full Version : Help With Email Client




ruhi
Oct 5, 2009, 07:04 AM
Hello,

I am trying to implement a Email Client in cocoa or carbon to send mails by using SMTP details.

I do not want to use Mail.app support.

I want that only my application will send mails.

Where should i start from.??

Is there any sample code available which implements same.

Please give me some direction.

Thanks,
Ruhi.



kainjow
Oct 5, 2009, 11:39 AM
What you want is a class that uses sockets and SMTP. I'm guessing a google search of "cocoa smtp" would give you lots of examples.

ruhi
Oct 6, 2009, 04:33 AM
Thanks. but i do not find any way out of this :(

I dnt want to use any third party framework for this.

Thanks,
Ruhi.

robbieduncan
Oct 6, 2009, 04:41 AM
Then go and read the RFC on SMTP (http://james.apache.org/server/rfclist/smtp/rfc0821.txt) and implement your own code using raw networking.

ruhi
Oct 8, 2009, 10:55 AM
Hello,

Will NSSocketPort will help me?

Can Socket programming is the right approach for sending mail?

Is there any help for this approach.

Thanks,
Ruhi