This is a simple class for sending e-mail messages through a given SMTP server.
The class main function is similar to the PHP mail() function as it also sends a message by connecting to a given SMTP server and taking as arguments the message To: address, the Subject: text, the message body data, the From: address and an optional Cc: header line.