Documentation

Overview

MailSend is pretty simple. The general idea is create an object of type MailSend and then pass all the required parameters (as std::strings) to single method similar to (for version 1):

  MailSend mailsend;
  mailsend(domain,from,to,subject,body);

The SMTP server defaults to "localhost" and this may be set by passting a std::string to the "server" method of the class.