Hi all,
I want to send a file to my gmail over socket. Reading a file and writing it to socket is simple but actually I donot know how to implement SMTP over socket. Could anyone tell me how to do it ?

Re: smtp socket in C 80 80

Do you necessarily want to do it with C or you are open to use other languages??

Re: smtp socket in C 80 80

Yes, I want to do it with C.

Re: smtp socket in C 80 80

Take a look at this library. It's huge, but may work. Give it a shot!

http://libsmtp.berlios.de/#whatisit

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.