tags:

views:

435

answers:

1

Hello all im looking for code example or tutorial on what i need to do to code sending email via email client ( that i already have ) that will support ssl authentication i guess using open ssl

A: 

Boost.Asio and the Sockets Library both have SSL support. The latter has SMTP server class but unfortunately no client. I found an example client but it uses the simple C socket.h.

Update: Here are some real working examples. They all support SSL or TLS.

  • Msmtp: An SMTP client and SMTP plugin for mail user agents such as Mutt
  • sSMTP: Extremely simple MTA to get mail off the system to a Mailhub
  • libESMTP: lib that implements the client side of the SMTP protocol
stribika
hi,well i have no problem to implement simple smtp client .but i don't know how to implement in code the combination of ssl/tls authentication that is "real code " this is what im looking for
no one knows how to implement simple smtp tls client example ?
I added some open source SMTP clients to my answer.
stribika
Thanks , im digging the code to found how they implement ssl
Are you going to re-implement or copy that from those places? Plenty of libraries that do that which you can use (and update).
Kris Kumler