Properties for PHPMailer Pro

Shown in alphabetical order.
An example of how a property would be used: $mail->Priority = 1;
Property Type Default Description
$CharSet public UTF-8 Sets the CharSet of the message
$ConfirmReadingTo public   Sets the email address that a reading confirmation will be sent.
$ContentType public text/plain Sets the Content-type of the message
$DKIM_domain public   Used with DKIM DNS Resource Record (required)
$DKIM_identity public   Used with DKIM DNS Resource Record (optional)
$DKIM_passphrase public   Used with DKIM Digital Signing process (optional)
$DKIM_private public   Used with DKIM DNS Resource Record (required)
$DKIM_selector public PHPMailer Pro Used with DKIM DNS Resource Record (required)
$Encoding public base64 Sets the Encoding of the message. Options for this are "8bit", "7bit", "binary", "base64", and "quoted-printable"
$EOL public \r\n Provides the ability to change the end of line
$ErrorInfo public   Holds the most recent mailer error message
$Hostname public   Sets the hostname to use in Message-Id and Received headers and as default HELO string. If empty, the value returned by SERVER_NAME is used or 'localhost.localdomain'.
$Message public   Sets the Body of the message. This can be either an HTML or text body. If HTML then run SetTypeHTML(true).
$MessageID public   Sets message ID to be used in the Message-Id header. If empty, a unique identifier will be generated.
$MessageText public   Sets the text-only body of the message. This automatically sets the email to multipart/alternative. This body can be read by mail clients that do not have HTML email capability such as mutt. Clients that can read HTML will view the normal Body.
$PluginDir public   Path to PHPMailer Pro plugins. This is now only useful if the SMTP class is in a different directory than the PHP include path.
$Priority public 3 Email priority (1 = High, 3 = Normal, 5 = low)
$ReturnPath public   Sets the [Return-Path] email header of the message. If not empty, will be sent via -f to sendmail or as 'MAIL FROM' in smtp mode.
$SenderEmail public root@localhost Sets the SenderEmail email address for the message
$SenderName public Root User Sets the SenderName name of the message
$SendIndividualEmails public true Provides the ability to have the TO field process individual emails, instead of sending to entire TO addresses
$SendmailServerPath public /usr/sbin/sendmail Sets the path of the sendmail program.
$Subject public   Sets the Subject of the message.
$Transport public sendmail Method to send mail: ("sendmail" or "smtp").
Note, deprecated. Will be removed in future releases.
$WordWrap public 0 Sets word wrapping on the body of the message to a given number of characters
Properties for optional SMTP2 plugin
$SMTP_Account public   Sets both SMTP username and password. (array)
$SMTP_Auth public true Sets SMTP authentication. Utilizes the Username and Password variables.
$SMTP_ConnectOptions public   Sets options for SMTP connection. (array)
$SMTP_Debug public false Sets SMTP class debugging on or off.
$SMTP_Encrypt public auto Sets connection protocol. Options are "", "ssl", "tls", or "auto"
$SMTP_Helo public   Sets the SMTP HELO of the message (Default is $Hostname).
$SMTP_Host public localhost Sets the SMTP hosts. All hosts must be separated by a semicolon. You can also specify a different port for each host by using this format: [hostname:port] (e.g. "smtp1.example.com:25;smtp2.example.com"). Hosts will be tried in order.
$SMTP_KeepAlive public false 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().
$SMTP_Password public   Sets SMTP password.
$SMTP_Port public 25 Sets the default SMTP server port.
$SMTP_Timeout public 10 Sets the SMTP server timeout in seconds. This function will not work with the win32 version.
$SMTP_Username public   Sets SMTP username.