Http api server to send mail to smtp server.