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.
Provides the ability to have the TO field process individual
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.
Strips newlines to prevent header injection.
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
Sends mail using the $Sendmail program.
Set (or reset) Class Objects (variables)
Adds the error message to the error container.
Set the From and FromName properties
Sets the language for all class error messages.
Set the private key file and password to sign the message.
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.
Initiates a connection to an SMTP server.
Sends mail via SMTP using PhpSMTP Returns false if there is a bad MAIL FROM, RCPT, or DATA input.
Initiate a TLS communication with the server.