Sets the Sender email (Return-Path) of the message. If not empty,
will be sent via -f to sendmail or as 'MAIL FROM' in smtp mode.
Sets the path of the sendmail program.
Sets SMTP authentication. Utilizes the Username and Password
variables.
Sets SMTP class debugging on or off.
Prevents the SMTP connection from being closed after each mail
sending. If this is set to true then to close the connection requires an explicit call to
SmtpClose().
Sets the Subject of the message.
Starts a mail transaction from the email address specified in
Creates message and assigns Mailer. If the message is not sent
successfully then it returns false. Use the ErrorInfo variable to view description of the error.
Starts a mail transaction from the email address specified in
Starts a mail transaction from the email address specified in
Sets the language for all class error messages. Returns false if it
cannot load the language file. The default language type is English.
Initialize the class so that the data is in a known state.
SMTP is rfc 821 compliant and implements all the rfc 821 SMTP
commands except TURN which will always return a not implemented error. SMTP also provides some
utility methods for sending mail to an SMTP server.
Closes the active SMTP session if one exists.