wp-includes/PHPMailer/PHPMailer.php:32PHPMailer - PHP email creation and transport class.
$Priorityint|nullpublic$CharSetstringpublic$ContentTypestringpublic$Encodingstringpublic$ErrorInfostringpublic$Fromstringpublic$FromNamestringpublic$Senderstringpublic$Subjectstringpublic$Bodystringpublic$AltBodystringpublic$Icalstringpublic$IcalMethodsstring[]protected static$MIMEBodystringprotected$MIMEHeaderstringprotected$mailHeaderstringprotected$WordWrapintpublic$Mailerstringpublic$Sendmailstringpublic$UseSendmailOptionsboolpublic$ConfirmReadingTostringpublic$Hostnamestringpublic$MessageIDstringpublic$MessageDatestringpublic$Hoststringpublic$Portintpublic$Helostringpublic$SMTPSecurestringpublic$SMTPAutoTLSboolpublicSMTPSecure is not set to 'tls'.$SMTPAuthboolpublic$SMTPOptionsarraypublic$Usernamestringpublic$Passwordstringpublic$AuthTypestringpublic$SMTPXClientarrayprotected$oauthPHPMailer\PHPMailer\OAuthTokenProviderprotected$Timeoutintpublic$dsnpublic$SMTPDebugintpublic$Debugoutputstring|callable|Psr\Log\LoggerInterfacepublic$SMTPKeepAliveboolpublic$SingleToboolpublic$SingleToArrayarrayprotected$do_verpboolpublic$AllowEmptyboolpublic$DKIM_selectorstringpublic$DKIM_identitystringpublic$DKIM_passphrasestringpublic$DKIM_domainstringpublic$DKIM_copyHeaderFieldsboolpublic$DKIM_extraHeadersarraypublic$DKIM_privatestringpublic$DKIM_private_stringstringpublic$action_functioncallable|PHPMailer\PHPMailer\callable-stringpublic$XMailerstring|nullpublic$validatorstring|callablepublic static$smtpPHPMailer\PHPMailer\SMTPprotected$toarrayprotected$ccarrayprotected$bccarrayprotected$ReplyToarrayprotected$all_recipientsarrayprotected$RecipientsQueuearrayprotected$ReplyToQueuearrayprotected$UseSMTPUTF8boolpublic$attachmentarrayprotected$CustomHeaderarrayprotected$lastMessageIDstringprotected$message_typestringprotected$boundaryarrayprotected$languagearrayprotected static$error_countintprotected$sign_cert_filestringprotected$sign_key_filestringprotected$sign_extracerts_filestringprotected$sign_key_passstringprotected$exceptionsboolprotected$uniqueidstringprotected$LEstringprotected staticclass PHPMailer{ const CHARSET_ASCII = 'us-ascii'; const CHARSET_ISO88591 = 'iso-8859-1'; const CHARSET_UTF8 = 'utf-8'; const CONTENT_TYPE_PLAINTEXT = 'text/plain'; const CONTENT_TYPE_TEXT_CALENDAR = 'text/calendar'; const CONTENT_TYPE_TEXT_HTML = 'text/html'; const CONTENT_TYPE_MULTIPART_ALTERNATIVE = 'multipart/alternative'; const CONTENT_TYPE_MULTIPART_MIXED = 'multipart/mixed'; const CONTENT_TYPE_MULTIPART_RELATED = 'multipart/related'; const ENCODING_7BIT = '7bit'; const ENCODING_8BIT = '8bit'; const ENCODING_BASE64 = 'base64'; const ENCODING_BINARY = 'binary'; const ENCODING_QUOTED_PRINTABLE = 'quoted-printable'; const ENCRYPTION_STARTTLS = 'tls'; const ENCRYPTION_SMTPS = 'ssl'; const ICAL_METHOD_REQUEST = 'REQUEST'; const ICAL_METHOD_PUBLISH = 'PUBLISH'; const ICAL_METHOD_REPLY = 'REPLY'; const ICAL_METHOD_ADD = 'ADD'; const ICAL_METHOD_CANCEL = 'CANCEL'; const ICAL_METHOD_REFRESH = 'REFRESH'; const ICAL_METHOD_COUNTER = 'COUNTER'; const ICAL_METHOD_DECLINECOUNTER = 'DECLINECOUNTER'; const RFC822_DATE_FORMAT = 'D, j M Y H:i:s O'; /** * Email priority. * Options: null (default), 1 = High, 3 = Normal, 5 = low. * When null, the header is not set at all. * * @var int|null */ public $Priority; /** * The character set of the message. * * @var string */ public $CharSet = self::CHARSET_ISO88591; /** * The MIME Content-Type of the message. * * @var string */ public $ContentType = self::CONTENT_TYPE_PLAINTEXT; /** * The message encoding. * Options: "8bit", "7bit", "binary", "base64", and "quoted-printable". * * @var string */ public $Encoding = self::ENCODING_8BIT; /** * Holds the most recent mailer error message. * * @var string */ public $ErrorInfo = ''; /** * The From email address for the message. * * @var string */ public $From = ''; /** * The From name of the message. *8 changes between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
sanitiseDate() added.verified against sourceparseSendmailPath() added.verified against sourceparseSimplerAddresses() added.verified against sourceparseEmailString() added.verified against sourcedecodeHeader() added.verified against sourceaddressHasUnicodeLocalPart() added.verified against sourceanyAddressHasUnicodeLocalPart() added.verified against sourceneedsSMTPUTF8() added.verified against sourcesrc/wp-includes/PHPMailer/PHPMailer.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.