#include <SMTPMailer.h>
Public Member Functions | |
SMTPMailer () | |
Constructor for SMTPMailer. | |
int | SendMail () |
Sends the mail. | |
void | setSMTPHost (string aHost) |
Sets the SMTP host. | |
void | setSMTPPort (int aPort) |
Sets the SMTP host. | |
void | setMailData (string aData) |
Sets the Mail body. | |
void | setMailFrom (string aFrom) |
Sets the Mail sender. | |
void | setMailTo (string aTo) |
Sets the Mail recipient. | |
void | setMailSubject (string aSubject) |
Sets the Mail body. | |
string | getError () |
Get the error text if the mail couldn't be sent. |
|
Sends the mail.
|
|
Sets the Mail body.
|
|
Sets the Mail sender.
|
|
Sets the Mail body.
|
|
Sets the Mail recipient.
|
|
Sets the SMTP host.
|
|
Sets the SMTP host.
|