How do I write a SMTP server

Hi,
I want to write an OutGoing SMTP server in c++. By outgoing smtp server I mean, a server which can all by itself send emails to other incoming servers. (Eg: it should be able to send a email to an account on gmail). I have already written a Incoming Mail Server. How do I write one? All examples on google are about mail clients using smtp.gmail.com!

Thanks.
Last edited on
Topic archived. No new replies allowed.