ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct ($exceptions=null) | |
Constructor. More... | |
__destruct () | |
Destructor. More... | |
isHTML ($isHtml=true) | |
Sets message type to HTML or plain. More... | |
isSMTP () | |
Send messages using SMTP. More... | |
isMail () | |
Send messages using PHP's mail() function. More... | |
isSendmail () | |
Send messages using $Sendmail. More... | |
isQmail () | |
Send messages using qmail. More... | |
addAddress ($address, $name='') | |
Add a "To" address. More... | |
addCC ($address, $name='') | |
Add a "CC" address. More... | |
addBCC ($address, $name='') | |
Add a "BCC" address. More... | |
addReplyTo ($address, $name='') | |
Add a "Reply-To" address. More... | |
parseAddresses ($addrstr, $useimap=true) | |
Parse and validate a string containing one or more RFC822-style comma-separated email addresses of the form "display name <address>" into an array of name/address pairs. More... | |
setFrom ($address, $name='', $auto=true) | |
Set the From and FromName properties. More... | |
getLastMessageID () | |
Return the Message-ID header of the last email. More... | |
idnSupported () | |
Tells whether IDNs (Internationalized Domain Names) are supported or not. More... | |
punyencodeAddress ($address) | |
Converts IDN in given email address to its ASCII form, also known as punycode, if possible. More... | |
send () | |
Create a message and send it. More... | |
preSend () | |
Prepare a message for sending. More... | |
postSend () | |
Actually send a message. More... | |
getSMTPInstance () | |
Get an instance to use for SMTP operations. More... | |
smtpConnect ($options=null) | |
Initiate a connection to an SMTP server. More... | |
smtpClose () | |
Close the active SMTP session if one exists. More... | |
setLanguage ($langcode='en', $lang_path='') | |
Set the language for error messages. More... | |
getTranslations () | |
Get the array of strings for the current language. More... | |
addrAppend ($type, $addr) | |
Create recipient headers. More... | |
addrFormat ($addr) | |
Format an address for use in a message header. More... | |
wrapText ($message, $length, $qp_mode=false) | |
Word-wrap message. More... | |
utf8CharBoundary ($encodedText, $maxLength) | |
Find the last character boundary prior to $maxLength in a utf-8 quoted-printable encoded string. More... | |
setWordWrap () | |
Apply word wrapping to the message body. More... | |
createHeader () | |
Assemble message headers. More... | |
getMailMIME () | |
Get the message MIME type headers. More... | |
getSentMIMEMessage () | |
Returns the whole MIME message. More... | |
createBody () | |
Assemble the message body. More... | |
headerLine ($name, $value) | |
Format a header line. More... | |
textLine ($value) | |
Return a formatted mail line. More... | |
addAttachment ($path, $name='', $encoding='base64', $type='', $disposition='attachment') | |
Add an attachment from a path on the filesystem. More... | |
getAttachments () | |
Return the array of attachments. More... | |
encodeString ($str, $encoding='base64') | |
Encode a string in requested format. More... | |
encodeHeader ($str, $position='text') | |
Encode a header string optimally. More... | |
hasMultiBytes ($str) | |
Check if a string contains multi-byte characters. More... | |
has8bitChars ($text) | |
Does a string contain any 8-bit chars (in any charset)? More... | |
base64EncodeWrapMB ($str, $linebreak=null) | |
Encode and wrap long multibyte strings for mail headers without breaking lines within a character. More... | |
encodeQP ($string, $line_max=76) | |
Encode a string in quoted-printable format. More... | |
encodeQPphp ( $string, $line_max=76, $space_conv=false) | |
Backward compatibility wrapper for an old QP encoding function that was removed. More... | |
encodeQ ($str, $position='text') | |
Encode a string using Q encoding. More... | |
addStringAttachment ( $string, $filename, $encoding='base64', $type='', $disposition='attachment') | |
Add a string or binary attachment (non-filesystem). More... | |
addEmbeddedImage ($path, $cid, $name='', $encoding='base64', $type='', $disposition='inline') | |
Add an embedded (inline) attachment from a file. More... | |
addStringEmbeddedImage ( $string, $cid, $name='', $encoding='base64', $type='', $disposition='inline') | |
Add an embedded stringified attachment. More... | |
inlineImageExists () | |
Check if an inline attachment is present. More... | |
attachmentExists () | |
Check if an attachment (non-inline) is present. More... | |
alternativeExists () | |
Check if this message has an alternative body set. More... | |
clearQueuedAddresses ($kind) | |
Clear queued addresses of given kind. More... | |
clearAddresses () | |
Clear all To recipients. More... | |
clearCCs () | |
Clear all CC recipients. More... | |
clearBCCs () | |
Clear all BCC recipients. More... | |
clearReplyTos () | |
Clear all ReplyTo recipients. More... | |
clearAllRecipients () | |
Clear all recipient types. More... | |
clearAttachments () | |
Clear all filesystem, string, and binary attachments. More... | |
clearCustomHeaders () | |
Clear all custom headers. More... | |
isError () | |
Check if an error occurred. More... | |
fixEOL ($str) | |
Ensure consistent line endings in a string. More... | |
addCustomHeader ($name, $value=null) | |
Add a custom header. More... | |
getCustomHeaders () | |
Returns all custom headers. More... | |
msgHTML ($message, $basedir='', $advanced=false) | |
Create a message body from an HTML string. More... | |
html2text ($html, $advanced=false) | |
Convert an HTML string into plain text. More... | |
set ($name, $value='') | |
Set or reset instance properties. More... | |
secureHeader ($str) | |
Strip newlines to prevent header injection. More... | |
sign ($cert_filename, $key_filename, $key_pass, $extracerts_filename='') | |
Set the public and private key files and password for S/MIME signing. More... | |
DKIM_QP ($txt) | |
Quoted-Printable-encode a DKIM header. More... | |
DKIM_Sign ($signHeader) | |
Generate a DKIM signature. More... | |
DKIM_HeaderC ($signHeader) | |
Generate a DKIM canonicalization header. More... | |
DKIM_BodyC ($body) | |
Generate a DKIM canonicalization body. More... | |
DKIM_Add ($headers_line, $subject, $body) | |
Create the DKIM header and body in a new message header. More... | |
getToAddresses () | |
Allows for public read access to 'to' property. More... | |
getCcAddresses () | |
Allows for public read access to 'cc' property. More... | |
getBccAddresses () | |
Allows for public read access to 'bcc' property. More... | |
getReplyToAddresses () | |
Allows for public read access to 'ReplyTo' property. More... | |
getAllRecipientAddresses () | |
Allows for public read access to 'all_recipients' property. More... | |
Static Public Member Functions | |
static | validateAddress ($address, $patternselect=null) |
Check that a string looks like an email address. More... | |
static | rfcDate () |
Return an RFC 822 formatted date. More... | |
static | _mime_types ($ext='') |
Get the MIME type for a file extension. More... | |
static | filenameToType ($filename) |
Map a file name to a MIME type. More... | |
static | mb_pathinfo ($path, $options=null) |
Multi-byte-safe pathinfo replacement. More... | |
static | normalizeBreaks ($text, $breaktype="\") |
Normalize line breaks in a string. More... | |
static | hasLineLongerThanMax ($str) |
Detect if a string contains a line longer than the maximum line length allowed. More... | |
Data Fields | |
$Version = '5.2.24' | |
$Priority = null | |
$CharSet = 'iso-8859-1' | |
$ContentType = 'text/plain' | |
$Encoding = '8bit' | |
$ErrorInfo = '' | |
$From = 'root@localhost' | |
$FromName = 'Root User' | |
$Sender = '' | |
$ReturnPath = '' | |
$Subject = '' | |
$Body = '' | |
$AltBody = '' | |
$Ical = '' | |
$WordWrap = 0 | |
$Mailer = 'mail' | |
$Sendmail = '/usr/sbin/sendmail' | |
$UseSendmailOptions = true | |
$PluginDir = '' | |
$ConfirmReadingTo = '' | |
$Hostname = '' | |
$MessageID = '' | |
$MessageDate = '' | |
$Host = 'localhost' | |
$Port = 25 | |
$Helo = '' | |
$SMTPSecure = '' | |
$SMTPAutoTLS = true | |
$SMTPAuth = false | |
$SMTPOptions = array() | |
$Username = '' | |
$Password = '' | |
$AuthType = '' | |
$Realm = '' | |
$Workstation = '' | |
$Timeout = 300 | |
$SMTPDebug = 0 | |
$Debugoutput = 'echo' | |
$SMTPKeepAlive = false | |
$SingleTo = false | |
$SingleToArray = array() | |
$do_verp = false | |
$AllowEmpty = false | |
$LE = "\n" | |
$DKIM_selector = '' | |
$DKIM_identity = '' | |
$DKIM_passphrase = '' | |
$DKIM_domain = '' | |
$DKIM_private = '' | |
$DKIM_private_string = '' | |
$action_function = '' | |
$XMailer = '' | |
const | STOP_MESSAGE = 0 |
Error severity: message only, continue processing. More... | |
const | STOP_CONTINUE = 1 |
Error severity: message, likely ok to continue processing. More... | |
const | STOP_CRITICAL = 2 |
Error severity: message, plus full stop, critical error reached. More... | |
const | CRLF = "\r\n" |
SMTP RFC standard line ending. More... | |
const | MAX_LINE_LENGTH = 998 |
Static Public Attributes | |
static | $validator = 'auto' |
Protected Member Functions | |
edebug ($str) | |
Output debugging info via user-defined method. More... | |
addOrEnqueueAnAddress ($kind, $address, $name) | |
Add an address to one of the recipient arrays or to the ReplyTo array. More... | |
addAnAddress ($kind, $address, $name='') | |
Add an address to one of the recipient arrays or to the ReplyTo array. More... | |
sendmailSend ($header, $body) | |
Send mail using the $Sendmail program. More... | |
mailSend ($header, $body) | |
Send mail using the PHP mail() function. More... | |
smtpSend ($header, $body) | |
Send mail via SMTP. More... | |
generateId () | |
Create unique ID. More... | |
getBoundary ($boundary, $charSet, $contentType, $encoding) | |
Return the start of a message boundary. More... | |
endBoundary ($boundary) | |
Return the end of a message boundary. More... | |
setMessageType () | |
Set the message type. More... | |
attachAll ($disposition_type, $boundary) | |
Attach all file, string, and binary attachments to the message. More... | |
encodeFile ($path, $encoding='base64') | |
Encode a file attachment in requested format. More... | |
setError ($msg) | |
Add an error message to the error container. More... | |
serverHostname () | |
Get the server hostname. More... | |
lang ($key) | |
Get an error message in the current language. More... | |
doCallback ($isSent, $to, $cc, $bcc, $subject, $body, $from) | |
Perform a callback. More... | |
Static Protected Member Functions | |
static | isShellSafe ($string) |
Fix CVE-2016-10033 and CVE-2016-10045 by disallowing potentially unsafe shell characters. More... | |
Protected Attributes | |
$MIMEBody = '' | |
$MIMEHeader = '' | |
$mailHeader = '' | |
$smtp = null | |
$to = array() | |
$cc = array() | |
$bcc = array() | |
$ReplyTo = array() | |
$all_recipients = array() | |
$RecipientsQueue = array() | |
$ReplyToQueue = array() | |
$attachment = array() | |
$CustomHeader = array() | |
$lastMessageID = '' | |
$message_type = '' | |
$boundary = array() | |
$language = array() | |
$error_count = 0 | |
$sign_cert_file = '' | |
$sign_key_file = '' | |
$sign_extracerts_file = '' | |
$sign_key_pass = '' | |
$exceptions = false | |
$uniqueid = '' | |
Private Member Functions | |
mailPassthru ($to, $subject, $body, $header, $params) | |
Call mail() in a safe_mode-aware fashion. More... | |
Definition at line 28 of file class.phpmailer.php.
PHPMailer::__construct | ( | $exceptions = null | ) |
Constructor.
boolean | $exceptions | Should we throw external exceptions? |
Definition at line 657 of file class.phpmailer.php.
References $exceptions.
PHPMailer::__destruct | ( | ) |
Destructor.
Definition at line 667 of file class.phpmailer.php.
References smtpClose().
|
static |
Get the MIME type for a file extension.
string | $ext | File extension public |
Definition at line 3519 of file class.phpmailer.php.
References array.
PHPMailer::addAddress | ( | $address, | |
$name = '' |
|||
) |
Add a "To" address.
string | $address | The email address to send to |
string | $name |
Definition at line 823 of file class.phpmailer.php.
References $name, and addOrEnqueueAnAddress().
|
protected |
Add an address to one of the recipient arrays or to the ReplyTo array.
Addresses that have been added already return false, but do not throw exceptions.
string | $kind | One of 'to', 'cc', 'bcc', or 'ReplyTo' |
string | $address | The email address to send, resp. to reply to |
string | $name |
phpmailerException |
Definition at line 919 of file class.phpmailer.php.
References $name, array, edebug(), lang(), setError(), and validateAddress().
PHPMailer::addAttachment | ( | $path, | |
$name = '' , |
|||
$encoding = 'base64' , |
|||
$type = '' , |
|||
$disposition = 'attachment' |
|||
) |
Add an attachment from a path on the filesystem.
Never use a user-supplied path to a file! Returns false if the file could not be found or read.
string | $path | Path to the attachment. |
string | $name | Overrides the attachment name. |
string | $encoding | File encoding (see $Encoding). |
string | $type | File extension (MIME) type. |
string | $disposition | Disposition to use |
phpmailerException |
Definition at line 2514 of file class.phpmailer.php.
References $filename, $name, $path, $type, array, edebug(), lang(), and setError().
PHPMailer::addBCC | ( | $address, | |
$name = '' |
|||
) |
Add a "BCC" address.
string | $address | The email address to send to |
string | $name |
Definition at line 847 of file class.phpmailer.php.
References $name, and addOrEnqueueAnAddress().
PHPMailer::addCC | ( | $address, | |
$name = '' |
|||
) |
Add a "CC" address.
string | $address | The email address to send to |
string | $name |
Definition at line 835 of file class.phpmailer.php.
References $name, and addOrEnqueueAnAddress().
PHPMailer::addCustomHeader | ( | $name, | |
$value = null |
|||
) |
Add a custom header.
$name value can be overloaded to contain both header name and value (name:value) public
string | $name | Custom header name |
string | $value | Header value |
Definition at line 3371 of file class.phpmailer.php.
PHPMailer::addEmbeddedImage | ( | $path, | |
$cid, | |||
$name = '' , |
|||
$encoding = 'base64' , |
|||
$type = '' , |
|||
$disposition = 'inline' |
|||
) |
Add an embedded (inline) attachment from a file.
This can include images, sounds, and just about any other document type. These differ from 'regular' attachments in that they are intended to be displayed inline with the message, not just attached for download. This is used in HTML messages that embed the images the HTML refers to using the $cid value. Never use a user-supplied path to a file!
string | $path | Path to the attachment. |
string | $cid | Content ID of the attachment; Use this to reference the content when using an embedded image in HTML. |
string | $name | Overrides the attachment name. |
string | $encoding | File encoding (see $Encoding). |
string | $type | File MIME type. |
string | $disposition | Disposition to use |
Definition at line 3040 of file class.phpmailer.php.
References $filename, $name, $path, $type, array, lang(), and setError().
Referenced by msgHTML().
|
protected |
Add an address to one of the recipient arrays or to the ReplyTo array.
Because PHPMailer can't validate addresses with an IDN without knowing the PHPMailer::$CharSet (that can still be modified after calling this function), addition of such addresses is delayed until send(). Addresses that have been added already return false, but do not throw exceptions.
string | $kind | One of 'to', 'cc', 'bcc', or 'ReplyTo' |
string | $address | The email address to send, resp. to reply to |
string | $name |
phpmailerException |
Definition at line 875 of file class.phpmailer.php.
References $name, $params, array, edebug(), has8bitChars(), idnSupported(), lang(), and setError().
Referenced by addAddress(), addBCC(), addCC(), and addReplyTo().
PHPMailer::addrAppend | ( | $type, | |
$addr | |||
) |
Create recipient headers.
public
string | $type | |
array | $addr | An array of recipient, where each recipient is a 2-element indexed array with element 0 containing an address and element 1 containing a name, like: array(array('joe@e', 'Joe User'), array(' xamp le.co mzoe@e', 'Zoe User')) xamp le.co m |
Definition at line 1829 of file class.phpmailer.php.
References $LE, $type, addrFormat(), and array.
Referenced by createHeader(), and preSend().
PHPMailer::addReplyTo | ( | $address, | |
$name = '' |
|||
) |
Add a "Reply-To" address.
string | $address | The email address to reply to |
string | $name |
Definition at line 858 of file class.phpmailer.php.
References $name, and addOrEnqueueAnAddress().
PHPMailer::addrFormat | ( | $addr | ) |
Format an address for use in a message header.
public
array | $addr | A 2-element indexed array, element 0 containing an address, element 1 containing a name like array('joe@e', 'Joe User') xamp le.co m |
Definition at line 1845 of file class.phpmailer.php.
References encodeHeader(), and secureHeader().
Referenced by addrAppend(), createHeader(), and mailSend().
PHPMailer::addStringAttachment | ( | $string, | |
$filename, | |||
$encoding = 'base64' , |
|||
$type = '' , |
|||
$disposition = 'attachment' |
|||
) |
Add a string or binary attachment (non-filesystem).
This method can be used to attach ascii or binary data, such as a BLOB record from a database.
string | $string | String attachment data. |
string | $filename | Name of the attachment. |
string | $encoding | File encoding (see $Encoding). |
string | $type | File extension (MIME) type. |
string | $disposition | Disposition to use |
Definition at line 2999 of file class.phpmailer.php.
References $filename, $type, and array.
PHPMailer::addStringEmbeddedImage | ( | $string, | |
$cid, | |||
$name = '' , |
|||
$encoding = 'base64' , |
|||
$type = '' , |
|||
$disposition = 'inline' |
|||
) |
Add an embedded stringified attachment.
This can include images, sounds, and just about any other document type. Be sure to set the $type to an image type for images: JPEG images use 'image/jpeg', GIF uses 'image/gif', PNG uses 'image/png'.
string | $string | The attachment binary data. |
string | $cid | Content ID of the attachment; Use this to reference the content when using an embedded image in HTML. |
string | $name | |
string | $encoding | File encoding (see $Encoding). |
string | $type | MIME type. |
string | $disposition | Disposition to use |
Definition at line 3085 of file class.phpmailer.php.
References $name, $type, and array.
Referenced by msgHTML().
PHPMailer::alternativeExists | ( | ) |
Check if this message has an alternative body set.
Definition at line 3145 of file class.phpmailer.php.
Referenced by msgHTML(), preSend(), and setMessageType().
|
protected |
Attach all file, string, and binary attachments to the message.
Returns an empty string on failure. protected
string | $disposition_type | |
string | $boundary |
Definition at line 2570 of file class.phpmailer.php.
References $attachment, $boundary, $LE, $name, $path, $type, array, encodeFile(), encodeHeader(), encodeString(), isError(), and secureHeader().
Referenced by createBody().
PHPMailer::attachmentExists | ( | ) |
Check if an attachment (non-inline) is present.
Definition at line 3131 of file class.phpmailer.php.
References $attachment.
Referenced by setMessageType().
PHPMailer::base64EncodeWrapMB | ( | $str, | |
$linebreak = null |
|||
) |
Encode and wrap long multibyte strings for mail headers without breaking lines within a character.
Adapted from a function by paravoid public string $str multi-byte text to wrap encode string $linebreak string to use as linefeed/end-of-line string
Definition at line 2865 of file class.phpmailer.php.
Referenced by encodeHeader().
PHPMailer::clearAddresses | ( | ) |
Clear all To recipients.
Definition at line 3170 of file class.phpmailer.php.
References $to, array, clearQueuedAddresses(), and to.
PHPMailer::clearAllRecipients | ( | ) |
PHPMailer::clearAttachments | ( | ) |
Clear all filesystem, string, and binary attachments.
Definition at line 3232 of file class.phpmailer.php.
References array.
PHPMailer::clearBCCs | ( | ) |
Clear all BCC recipients.
Definition at line 3196 of file class.phpmailer.php.
References $bcc, array, and clearQueuedAddresses().
PHPMailer::clearCCs | ( | ) |
Clear all CC recipients.
Definition at line 3183 of file class.phpmailer.php.
References $cc, array, and clearQueuedAddresses().
PHPMailer::clearCustomHeaders | ( | ) |
Clear all custom headers.
Definition at line 3241 of file class.phpmailer.php.
References array.
PHPMailer::clearQueuedAddresses | ( | $kind | ) |
Clear queued addresses of given kind.
protected
string | $kind | 'to', 'cc', or 'bcc' |
Definition at line 3156 of file class.phpmailer.php.
References $params, and $RecipientsQueue.
Referenced by clearAddresses(), clearBCCs(), and clearCCs().
PHPMailer::clearReplyTos | ( | ) |
Clear all ReplyTo recipients.
Definition at line 3209 of file class.phpmailer.php.
References array.
PHPMailer::createBody | ( | ) |
Assemble the message body.
Returns an empty string on failure. public
phpmailerException |
Definition at line 2205 of file class.phpmailer.php.
References $CharSet, $Encoding, $file, $LE, $uniqueid, array, attachAll(), defined, encodeString(), endBoundary(), generateId(), getBoundary(), getMailMIME(), has8bitChars(), headerLine(), isError(), lang(), setWordWrap(), and textLine().
Referenced by preSend().
PHPMailer::createHeader | ( | ) |
Assemble message headers.
public
Definition at line 2035 of file class.phpmailer.php.
References $header, $MessageID, $result, addrAppend(), addrFormat(), array, encodeHeader(), getMailMIME(), headerLine(), secureHeader(), serverHostname(), and to.
Referenced by preSend().
PHPMailer::DKIM_Add | ( | $headers_line, | |
$subject, | |||
$body | |||
) |
Create the DKIM header and body in a new message header.
public
string | $headers_line | Header lines |
string | $subject | Subject |
string | $body | Body |
Definition at line 3875 of file class.phpmailer.php.
References $current, $from, $header, $to, DKIM_BodyC(), DKIM_HeaderC(), DKIM_QP(), DKIM_Sign(), GuzzleHttp\Psr7\hash(), and time.
Referenced by preSend().
PHPMailer::DKIM_BodyC | ( | $body | ) |
Generate a DKIM canonicalization body.
public
string | $body | Message Body |
Definition at line 3852 of file class.phpmailer.php.
Referenced by DKIM_Add().
PHPMailer::DKIM_HeaderC | ( | $signHeader | ) |
Generate a DKIM canonicalization header.
public
string | $signHeader | Header |
Definition at line 3832 of file class.phpmailer.php.
References $key.
Referenced by DKIM_Add().
PHPMailer::DKIM_QP | ( | $txt | ) |
Quoted-Printable-encode a DKIM header.
public
string | $txt |
Definition at line 3765 of file class.phpmailer.php.
Referenced by DKIM_Add().
PHPMailer::DKIM_Sign | ( | $signHeader | ) |
Generate a DKIM signature.
public
string | $signHeader |
phpmailerException |
Definition at line 3786 of file class.phpmailer.php.
References $t, defined, GuzzleHttp\Psr7\hash(), and lang().
Referenced by DKIM_Add().
|
protected |
Perform a callback.
boolean | $isSent | |
array | $to | |
array | $cc | |
array | $bcc | |
string | $subject | |
string | $body | |
string | $from |
Definition at line 4024 of file class.phpmailer.php.
References $bcc, $cc, $from, $params, $to, and array.
Referenced by mailSend(), sendmailSend(), and smtpSend().
|
protected |
Output debugging info via user-defined method.
Only generates output if SMTP debug output is enabled (
string | $str |
Definition at line 717 of file class.phpmailer.php.
References array, and Monolog\Handler\error_log().
Referenced by addAnAddress(), addAttachment(), addOrEnqueueAnAddress(), postSend(), preSend(), setFrom(), PHPMailerOAuth\smtpConnect(), and smtpConnect().
|
protected |
Encode a file attachment in requested format.
Returns an empty string on failure.
string | $path | The full path to the file |
string | $encoding | The encoding to use; one of 'base64', '7bit', '8bit', 'binary', 'quoted-printable' |
phpmailerException | protected |
Definition at line 2695 of file class.phpmailer.php.
References $path, encodeString(), lang(), and setError().
Referenced by attachAll().
PHPMailer::encodeHeader | ( | $str, | |
$position = 'text' |
|||
) |
Encode a header string optimally.
Picks shortest of Q, B, quoted-printable or none. public
string | $str | |
string | $position |
PhpMissingBreakStatementInspection
Definition at line 2772 of file class.phpmailer.php.
References base64EncodeWrapMB(), encodeQ(), hasMultiBytes(), and wrapText().
Referenced by addrFormat(), attachAll(), createHeader(), mailPassthru(), and preSend().
PHPMailer::encodeQ | ( | $str, | |
$position = 'text' |
|||
) |
Encode a string using Q encoding.
PhpMissingBreakStatementInspection
Definition at line 2948 of file class.phpmailer.php.
References array.
Referenced by encodeHeader().
PHPMailer::encodeQP | ( | $string, | |
$line_max = 76 |
|||
) |
Encode a string in quoted-printable format.
According to RFC2045 section 6.7. public
string | $string | The text to encode |
integer | $line_max | Number of chars allowed on a line before wrapping |
Definition at line 2907 of file class.phpmailer.php.
References array.
Referenced by encodeQPphp(), and encodeString().
PHPMailer::encodeQPphp | ( | $string, | |
$line_max = 76 , |
|||
$space_conv = false |
|||
) |
Backward compatibility wrapper for an old QP encoding function that was removed.
string | $string | |
integer | $line_max | |
boolean | $space_conv |
$space_conv | PhpUnusedParameterInspection |
Definition at line 2932 of file class.phpmailer.php.
References encodeQP().
PHPMailer::encodeString | ( | $str, | |
$encoding = 'base64' |
|||
) |
Encode a string in requested format.
Returns an empty string on failure.
string | $str | The text to encode |
string | $encoding | The encoding to use; one of 'base64', '7bit', '8bit', 'binary', 'quoted-printable' public |
Definition at line 2736 of file class.phpmailer.php.
References $LE, encodeQP(), fixEOL(), lang(), and setError().
Referenced by attachAll(), createBody(), and encodeFile().
|
protected |
Return the end of a message boundary.
protected
string | $boundary |
Definition at line 2449 of file class.phpmailer.php.
References $boundary, and $LE.
Referenced by createBody().
|
static |
Map a file name to a MIME type.
Defaults to 'application/octet-stream', i.e.. arbitrary binary data.
string | $filename | A file name or full path, does not need to exist as a file |
Definition at line 3634 of file class.phpmailer.php.
References $filename.
PHPMailer::fixEOL | ( | $str | ) |
Ensure consistent line endings in a string.
Changes every end of line from CRLF, CR or LF to $this->LE. public
string | $str | String to fixEOL |
Definition at line 3351 of file class.phpmailer.php.
References array.
Referenced by encodeString(), and wrapText().
|
protected |
Create unique ID.
Definition at line 2194 of file class.phpmailer.php.
References time.
Referenced by createBody().
PHPMailer::getAllRecipientAddresses | ( | ) |
Allows for public read access to 'all_recipients' property.
Definition at line 4009 of file class.phpmailer.php.
References $all_recipients.
PHPMailer::getAttachments | ( | ) |
Return the array of attachments.
Definition at line 2557 of file class.phpmailer.php.
References $attachment.
PHPMailer::getBccAddresses | ( | ) |
Allows for public read access to 'bcc' property.
Definition at line 3987 of file class.phpmailer.php.
References $bcc.
|
protected |
Return the start of a message boundary.
protected
string | $boundary | |
string | $charSet | |
string | $contentType | |
string | $encoding |
Definition at line 2419 of file class.phpmailer.php.
References $boundary, $CharSet, $ContentType, $contentType, $Encoding, $LE, $result, headerLine(), and textLine().
Referenced by createBody().
PHPMailer::getCcAddresses | ( | ) |
Allows for public read access to 'cc' property.
Definition at line 3976 of file class.phpmailer.php.
References $cc.
PHPMailer::getCustomHeaders | ( | ) |
Returns all custom headers.
Definition at line 3385 of file class.phpmailer.php.
References $CustomHeader.
PHPMailer::getLastMessageID | ( | ) |
Return the Message-ID header of the last email.
Technically this is the value from the last time the headers were created, but it's also the message ID of the last sent message except in pathological cases.
Definition at line 1050 of file class.phpmailer.php.
References $lastMessageID.
PHPMailer::getMailMIME | ( | ) |
Get the message MIME type headers.
public
Definition at line 2130 of file class.phpmailer.php.
References $LE, $result, headerLine(), and textLine().
Referenced by createBody(), and createHeader().
PHPMailer::getReplyToAddresses | ( | ) |
Allows for public read access to 'ReplyTo' property.
Definition at line 3998 of file class.phpmailer.php.
References $ReplyTo.
PHPMailer::getSentMIMEMessage | ( | ) |
Returns the whole MIME message.
Includes complete headers and body. Only valid post preSend().
Definition at line 2185 of file class.phpmailer.php.
References $MIMEBody.
PHPMailer::getSMTPInstance | ( | ) |
Get an instance to use for SMTP operations.
Override this function to load your own SMTP implementation
Definition at line 1523 of file class.phpmailer.php.
References $smtp.
Referenced by PHPMailerOAuth\smtpConnect(), and smtpConnect().
PHPMailer::getToAddresses | ( | ) |
Allows for public read access to 'to' property.
Definition at line 3965 of file class.phpmailer.php.
References $to.
PHPMailer::getTranslations | ( | ) |
Get the array of strings for the current language.
Definition at line 1814 of file class.phpmailer.php.
References $language.
PHPMailer::has8bitChars | ( | $text | ) |
Does a string contain any 8-bit chars (in any charset)?
string | $text |
Definition at line 2850 of file class.phpmailer.php.
References $text.
Referenced by addOrEnqueueAnAddress(), createBody(), punyencodeAddress(), and setFrom().
|
static |
Detect if a string contains a line longer than the maximum line length allowed.
string | $str |
Definition at line 3953 of file class.phpmailer.php.
PHPMailer::hasMultiBytes | ( | $str | ) |
Check if a string contains multi-byte characters.
public
string | $str | multi-byte text to wrap encode |
Definition at line 2836 of file class.phpmailer.php.
Referenced by encodeHeader().
PHPMailer::headerLine | ( | $name, | |
$value | |||
) |
Format a header line.
public
string | $name | |
string | $value |
Definition at line 2486 of file class.phpmailer.php.
Referenced by createBody(), createHeader(), getBoundary(), getMailMIME(), and preSend().
PHPMailer::html2text | ( | $html, | |
$advanced = false |
|||
) |
Convert an HTML string into plain text.
This is used by msgHTML(). Note - older versions of this function used a bundled advanced converter which was been removed for license reasons in #232. Example usage: // Use default conversion $plain = $mail->html2text($html); // Use your own custom converter $plain = $mail->html2text($html, function($html) { $converter = new MyHtml2text($html); return $converter->get_text(); });
string | $html | The HTML text to convert |
boolean | callable | $advanced | Any boolean value to use the internal converter, or provide your own callable for custom conversion. |
Definition at line 3500 of file class.phpmailer.php.
References $html.
Referenced by msgHTML().
PHPMailer::idnSupported | ( | ) |
Tells whether IDNs (Internationalized Domain Names) are supported or not.
This requires the "intl" and "mbstring" PHP extensions.
Definition at line 1170 of file class.phpmailer.php.
Referenced by addOrEnqueueAnAddress(), punyencodeAddress(), and setFrom().
PHPMailer::inlineImageExists | ( | ) |
Check if an inline attachment is present.
public
Definition at line 3117 of file class.phpmailer.php.
References $attachment.
Referenced by setMessageType().
PHPMailer::isError | ( | ) |
Check if an error occurred.
public
Definition at line 3339 of file class.phpmailer.php.
Referenced by attachAll(), and createBody().
PHPMailer::isHTML | ( | $isHtml = true | ) |
Sets message type to HTML or plain.
boolean | $isHtml | True for HTML mode. |
Definition at line 758 of file class.phpmailer.php.
Referenced by msgHTML().
PHPMailer::isMail | ( | ) |
Send messages using PHP's mail() function.
Definition at line 780 of file class.phpmailer.php.
PHPMailer::isQmail | ( | ) |
PHPMailer::isSendmail | ( | ) |
|
staticprotected |
Fix CVE-2016-10033 and CVE-2016-10045 by disallowing potentially unsafe shell characters.
Note that escapeshellarg and escapeshellcmd are inadequate for our purposes, especially on Windows.
string | $string | The string to be validated |
Definition at line 1445 of file class.phpmailer.php.
PHPMailer::isSMTP | ( | ) |
|
protected |
Get an error message in the current language.
protected
string | $key |
Definition at line 3314 of file class.phpmailer.php.
References $key, and setLanguage().
Referenced by addAnAddress(), addAttachment(), addEmbeddedImage(), addOrEnqueueAnAddress(), createBody(), DKIM_Sign(), encodeFile(), encodeString(), mailSend(), preSend(), sendmailSend(), set(), setError(), setFrom(), PHPMailerOAuth\smtpConnect(), smtpConnect(), and smtpSend().
|
private |
Call mail() in a safe_mode-aware fashion.
Also, unless sendmail_path points to sendmail (or something that claims to be sendmail), don't pass params (not a perfect fix, but it will do)
string | $to | To |
string | $subject | Subject |
string | $body | Message Body |
string | $header | Additional Header(s) |
string | $params | Params private |
Definition at line 686 of file class.phpmailer.php.
References $header, $params, $result, $to, encodeHeader(), Monolog\Handler\mail(), and secureHeader().
Referenced by mailSend().
|
protected |
Send mail using the PHP mail() function.
string | $header | The message headers |
string | $body | The message body phpmailerException protected boolean |
Definition at line 1479 of file class.phpmailer.php.
References $header, $params, $result, $to, addrFormat(), array, doCallback(), lang(), mailPassthru(), to, and validateAddress().
Referenced by postSend().
|
static |
Multi-byte-safe pathinfo replacement.
Drop-in replacement for pathinfo(), but multibyte-safe, cross-platform-safe, old-version-safe. Works similarly to the one in PHP >= 5.2.0 string $path A filename or path, does not need to exist as a file integer|string $options Either a PATHINFO_* constant, or a string name to return only the specified piece, allows 'filename' to work on PHP < 5.2 string|array
Definition at line 3656 of file class.phpmailer.php.
References $options, $path, $ret, and array.
PHPMailer::msgHTML | ( | $message, | |
$basedir = '' , |
|||
$advanced = false |
|||
) |
Create a message body from an HTML string.
Automatically inlines images and creates a plain-text version by converting the HTML, overwriting any existing values in Body and AltBody. Do not source $message content from user input! $basedir is prepended when handling relative URLs, e.g.
and must not be empty will look for an image file in $basedir/images/a.png and convert it to inline. If you don't provide a $basedir, relative paths will be left untouched (and thus probably break in email) If you don't want to apply these transformations to your HTML, just set Body and AltBody directly. public
string | $message | HTML message string |
string | $basedir | Absolute path to a base directory to prepend to relative paths to images |
boolean | callable | $advanced | Whether to use the internal HTML to text converter or your own custom converter |
Definition at line 3406 of file class.phpmailer.php.
References $Body, $data, $filename, $message, $url, addEmbeddedImage(), addStringEmbeddedImage(), alternativeExists(), html2text(), isHTML(), and normalizeBreaks().
|
static |
Normalize line breaks in a string.
Converts UNIX LF, Mac CR and Windows CRLF line breaks into a single line break format. Defaults to CRLF (for message bodies) and preserves consecutive breaks.
string | $text | |
string | $breaktype | What kind of line break to use, defaults to CRLF |
Definition at line 3738 of file class.phpmailer.php.
References $text.
Referenced by msgHTML().
PHPMailer::parseAddresses | ( | $addrstr, | |
$useimap = true |
|||
) |
Parse and validate a string containing one or more RFC822-style comma-separated email addresses of the form "display name <address>" into an array of name/address pairs.
Uses the imap_rfc822_parse_adrlist function if the IMAP extension is available. Note that quotes in the name part are removed.
string | $addrstr | The address list string |
bool | $useimap | Whether to use the IMAP extension to parse the list |
Definition at line 964 of file class.phpmailer.php.
References $email, $list, $name, array, and validateAddress().
PHPMailer::postSend | ( | ) |
Actually send a message.
Send the email via the selected mechanism
phpmailerException |
Definition at line 1332 of file class.phpmailer.php.
References edebug(), mailSend(), sendmailSend(), setError(), and smtpSend().
Referenced by send().
PHPMailer::preSend | ( | ) |
Prepare a message for sending.
phpmailerException |
Definition at line 1235 of file class.phpmailer.php.
References $MIMEHeader, $params, addrAppend(), alternativeExists(), array, createBody(), createHeader(), DKIM_Add(), edebug(), encodeHeader(), headerLine(), lang(), punyencodeAddress(), secureHeader(), setError(), setMessageType(), to, and validateAddress().
Referenced by send().
PHPMailer::punyencodeAddress | ( | $address | ) |
Converts IDN in given email address to its ASCII form, also known as punycode, if possible.
Important: Address must be passed in same encoding as currently set in PHPMailer::$CharSet. This function silently returns unmodified address if:
string | $address | The email address to convert |
Definition at line 1187 of file class.phpmailer.php.
References $domain, defined, has8bitChars(), and idnSupported().
Referenced by preSend().
|
static |
Return an RFC 822 formatted date.
public
Definition at line 3279 of file class.phpmailer.php.
References date.
PHPMailer::secureHeader | ( | $str | ) |
Strip newlines to prevent header injection.
public
string | $str |
Definition at line 3723 of file class.phpmailer.php.
References array.
Referenced by addrFormat(), attachAll(), createHeader(), mailPassthru(), and preSend().
PHPMailer::send | ( | ) |
Create a message and send it.
Uses the sending method specified by $Mailer.
phpmailerException |
Definition at line 1213 of file class.phpmailer.php.
References postSend(), preSend(), and setError().
|
protected |
Send mail using the $Sendmail program.
string | $header | The message headers |
string | $body | The message body |
phpmailerException | protected |
Definition at line 1371 of file class.phpmailer.php.
References $header, $result, array, doCallback(), lang(), and to.
Referenced by postSend().
|
protected |
Get the server hostname.
Returns 'localhost.localdomain' if unknown. protected
Definition at line 3293 of file class.phpmailer.php.
References $_SERVER, $Hostname, and $result.
Referenced by createHeader(), PHPMailerOAuth\smtpConnect(), and smtpConnect().
PHPMailer::set | ( | $name, | |
$value = '' |
|||
) |
Set or reset instance properties.
You should avoid this function - it's more verbose, less efficient, more error-prone and harder to debug than setting properties directly. Usage Example: `$mail->set('SMTPSecure', 'tls');` is the same as: `$mail->SMTPSecure = 'tls';` public
string | $name | The property name to set |
mixed | $value | The value to set the property to |
Definition at line 3706 of file class.phpmailer.php.
References $name, lang(), and setError().
|
protected |
Add an error message to the error container.
protected
string | $msg |
Definition at line 3252 of file class.phpmailer.php.
References lang().
Referenced by addAnAddress(), addAttachment(), addEmbeddedImage(), addOrEnqueueAnAddress(), encodeFile(), encodeString(), postSend(), preSend(), send(), set(), setFrom(), and smtpSend().
PHPMailer::setFrom | ( | $address, | |
$name = '' , |
|||
$auto = true |
|||
) |
Set the From and FromName properties.
string | $address | |
string | $name | |
boolean | $auto | Whether to also set the Sender address, defaults to true |
phpmailerException |
Definition at line 1017 of file class.phpmailer.php.
References $name, edebug(), has8bitChars(), idnSupported(), lang(), setError(), and validateAddress().
PHPMailer::setLanguage | ( | $langcode = 'en' , |
|
$lang_path = '' |
|||
) |
Set the language for error messages.
Returns false if it cannot load the language file. The default language is English.
string | $langcode | ISO 639-1 2-character language code (e.g. French is "fr") |
string | $lang_path | Path to the language file directory, with trailing separator (slash) |
Definition at line 1747 of file class.phpmailer.php.
References $PHPMAILER_LANG, and array.
Referenced by lang().
|
protected |
Set the message type.
PHPMailer only supports some preset message types, not arbitrary MIME structures. protected
Definition at line 2460 of file class.phpmailer.php.
References $type, alternativeExists(), array, attachmentExists(), and inlineImageExists().
Referenced by preSend().
PHPMailer::setWordWrap | ( | ) |
Apply word wrapping to the message body.
Wraps the message body to the number of chars set in the WordWrap property. You should only do this to plain-text bodies as wrapping HTML tags may break them. This is called automatically by createBody(), so you don't need to call it yourself. public
Definition at line 2011 of file class.phpmailer.php.
References wrapText().
Referenced by createBody().
PHPMailer::sign | ( | $cert_filename, | |
$key_filename, | |||
$key_pass, | |||
$extracerts_filename = '' |
|||
) |
Set the public and private key files and password for S/MIME signing.
public
string | $cert_filename | |
string | $key_filename | |
string | $key_pass | Password for private key |
string | $extracerts_filename | Optional path to chain certificate |
Definition at line 3751 of file class.phpmailer.php.
PHPMailer::smtpClose | ( | ) |
Close the active SMTP session if one exists.
Definition at line 1728 of file class.phpmailer.php.
Referenced by __destruct().
PHPMailer::smtpConnect | ( | $options = null | ) |
Initiate a connection to an SMTP server.
Returns false if the operation failed.
array | $options | An array of options compatible with stream_context_create() SMTP public |
phpmailerException |
Definition at line 1606 of file class.phpmailer.php.
References $Helo, $options, $Port, $SMTPOptions, $SMTPSecure, array, defined, edebug(), getSMTPInstance(), lang(), and serverHostname().
Referenced by smtpSend().
|
protected |
Send mail via SMTP.
Returns false if there is a bad MAIL FROM, RCPT, or DATA input. Uses the PHPMailerSMTP class by default.
string | $header | The message headers |
string | $body | The message body |
phpmailerException | SMTP protected |
Definition at line 1543 of file class.phpmailer.php.
References $error, $From, $header, $Sender, $to, array, doCallback(), lang(), setError(), smtpConnect(), to, and validateAddress().
Referenced by postSend().
PHPMailer::textLine | ( | $value | ) |
Return a formatted mail line.
public
string | $value |
Definition at line 2497 of file class.phpmailer.php.
References $LE.
Referenced by createBody(), getBoundary(), and getMailMIME().
PHPMailer::utf8CharBoundary | ( | $encodedText, | |
$maxLength | |||
) |
Find the last character boundary prior to $maxLength in a utf-8 quoted-printable encoded string.
Original written by Colin Brown. public
string | $encodedText | utf-8 QP text |
integer | $maxLength | Find the last character boundary prior to this length |
Definition at line 1966 of file class.phpmailer.php.
Referenced by wrapText().
|
static |
Check that a string looks like an email address.
string | $address | The email address to check |
string | callable | $patternselect | A selector for the validation pattern to use :
|
Uses the same RFC5322 regex on which FILTER_VALIDATE_EMAIL is based, but allows dotless domains. 2009-2010 Michael Rushton Feel free to use and redistribute this code. But please keep this copyright notice. This is the pattern used in the HTML5 spec for validation of 'email' type form input elements. http://www.whatwg.org/specs/web-apps/current-work/#e-mail-state-(type=email)
Definition at line 1074 of file class.phpmailer.php.
References defined.
Referenced by addAnAddress(), mailSend(), parseAddresses(), preSend(), setFrom(), and smtpSend().
PHPMailer::wrapText | ( | $message, | |
$length, | |||
$qp_mode = false |
|||
) |
Word-wrap message.
For use with mailers that do not automatically perform wrapping and for quoted-printable encoded messages. Original written by philippe.
string | $message | The message to wrap |
integer | $length | The line length to wrap to |
boolean | $qp_mode | Whether to run in Quoted-Printable mode public |
Definition at line 1867 of file class.phpmailer.php.
References $LE, $message, fixEOL(), and utf8CharBoundary().
Referenced by encodeHeader(), and setWordWrap().
PHPMailer::$action_function = '' |
Definition at line 451 of file class.phpmailer.php.
|
protected |
Definition at line 511 of file class.phpmailer.php.
Referenced by getAllRecipientAddresses().
PHPMailer::$AllowEmpty = false |
Definition at line 383 of file class.phpmailer.php.
PHPMailer::$AltBody = '' |
Definition at line 118 of file class.phpmailer.php.
|
protected |
Definition at line 540 of file class.phpmailer.php.
Referenced by attachAll(), attachmentExists(), getAttachments(), and inlineImageExists().
PHPMailer::$AuthType = '' |
Definition at line 294 of file class.phpmailer.php.
|
protected |
Definition at line 495 of file class.phpmailer.php.
Referenced by clearBCCs(), doCallback(), and getBccAddresses().
PHPMailer::$Body = '' |
Definition at line 109 of file class.phpmailer.php.
Referenced by msgHTML().
|
protected |
Definition at line 568 of file class.phpmailer.php.
Referenced by attachAll(), endBoundary(), and getBoundary().
|
protected |
Definition at line 488 of file class.phpmailer.php.
Referenced by clearCCs(), doCallback(), and getCcAddresses().
PHPMailer::$CharSet = 'iso-8859-1' |
Definition at line 48 of file class.phpmailer.php.
Referenced by createBody(), and getBoundary().
PHPMailer::$ConfirmReadingTo = '' |
Definition at line 190 of file class.phpmailer.php.
PHPMailer::$ContentType = 'text/plain' |
Definition at line 54 of file class.phpmailer.php.
Referenced by getBoundary().
|
protected |
Definition at line 547 of file class.phpmailer.php.
Referenced by getCustomHeaders().
PHPMailer::$Debugoutput = 'echo' |
Definition at line 345 of file class.phpmailer.php.
PHPMailer::$DKIM_domain = '' |
Definition at line 418 of file class.phpmailer.php.
PHPMailer::$DKIM_identity = '' |
Definition at line 404 of file class.phpmailer.php.
PHPMailer::$DKIM_passphrase = '' |
Definition at line 411 of file class.phpmailer.php.
PHPMailer::$DKIM_private = '' |
Definition at line 424 of file class.phpmailer.php.
PHPMailer::$DKIM_private_string = '' |
Definition at line 431 of file class.phpmailer.php.
PHPMailer::$DKIM_selector = '' |
Definition at line 397 of file class.phpmailer.php.
PHPMailer::$do_verp = false |
Definition at line 377 of file class.phpmailer.php.
PHPMailer::$Encoding = '8bit' |
Definition at line 61 of file class.phpmailer.php.
Referenced by createBody(), and getBoundary().
|
protected |
Definition at line 582 of file class.phpmailer.php.
PHPMailer::$ErrorInfo = '' |
Definition at line 67 of file class.phpmailer.php.
|
protected |
Definition at line 618 of file class.phpmailer.php.
Referenced by __construct().
PHPMailer::$From = 'root@localhost' |
Definition at line 73 of file class.phpmailer.php.
Referenced by smtpSend().
PHPMailer::$FromName = 'Root User' |
Definition at line 79 of file class.phpmailer.php.
PHPMailer::$Helo = '' |
Definition at line 245 of file class.phpmailer.php.
Referenced by PHPMailerOAuth\smtpConnect(), and smtpConnect().
PHPMailer::$Host = 'localhost' |
Definition at line 229 of file class.phpmailer.php.
PHPMailer::$Hostname = '' |
Definition at line 199 of file class.phpmailer.php.
Referenced by serverHostname().
PHPMailer::$Ical = '' |
Definition at line 128 of file class.phpmailer.php.
|
protected |
Definition at line 575 of file class.phpmailer.php.
Referenced by getTranslations().
|
protected |
Definition at line 554 of file class.phpmailer.php.
Referenced by getLastMessageID().
PHPMailer::$LE = "\n" |
Definition at line 391 of file class.phpmailer.php.
Referenced by addrAppend(), attachAll(), base64EncodeWrapMB(), createBody(), encodeString(), endBoundary(), getBoundary(), getMailMIME(), headerLine(), textLine(), and wrapText().
PHPMailer::$Mailer = 'mail' |
Definition at line 163 of file class.phpmailer.php.
|
protected |
Definition at line 149 of file class.phpmailer.php.
|
protected |
Definition at line 561 of file class.phpmailer.php.
PHPMailer::$MessageDate = '' |
Definition at line 216 of file class.phpmailer.php.
PHPMailer::$MessageID = '' |
Definition at line 209 of file class.phpmailer.php.
Referenced by createHeader().
|
protected |
Definition at line 135 of file class.phpmailer.php.
Referenced by getSentMIMEMessage().
|
protected |
Definition at line 142 of file class.phpmailer.php.
Referenced by preSend().
PHPMailer::$Password = '' |
Definition at line 287 of file class.phpmailer.php.
PHPMailer::$PluginDir = '' |
Definition at line 184 of file class.phpmailer.php.
PHPMailer::$Port = 25 |
Definition at line 236 of file class.phpmailer.php.
Referenced by PHPMailerOAuth\smtpConnect(), and smtpConnect().
PHPMailer::$Priority = null |
Definition at line 42 of file class.phpmailer.php.
PHPMailer::$Realm = '' |
Definition at line 301 of file class.phpmailer.php.
|
protected |
Definition at line 523 of file class.phpmailer.php.
Referenced by clearQueuedAddresses().
|
protected |
Definition at line 502 of file class.phpmailer.php.
Referenced by getReplyToAddresses().
|
protected |
Definition at line 533 of file class.phpmailer.php.
PHPMailer::$ReturnPath = '' |
Definition at line 96 of file class.phpmailer.php.
PHPMailer::$Sender = '' |
Definition at line 86 of file class.phpmailer.php.
Referenced by smtpSend().
PHPMailer::$Sendmail = '/usr/sbin/sendmail' |
Definition at line 169 of file class.phpmailer.php.
|
protected |
Definition at line 589 of file class.phpmailer.php.
|
protected |
Definition at line 603 of file class.phpmailer.php.
|
protected |
Definition at line 596 of file class.phpmailer.php.
|
protected |
Definition at line 611 of file class.phpmailer.php.
PHPMailer::$SingleTo = false |
Definition at line 361 of file class.phpmailer.php.
PHPMailer::$SingleToArray = array() |
Definition at line 368 of file class.phpmailer.php.
|
protected |
Definition at line 474 of file class.phpmailer.php.
Referenced by getSMTPInstance().
PHPMailer::$SMTPAuth = false |
Definition at line 269 of file class.phpmailer.php.
PHPMailer::$SMTPAutoTLS = true |
Definition at line 260 of file class.phpmailer.php.
PHPMailer::$SMTPDebug = 0 |
Definition at line 329 of file class.phpmailer.php.
PHPMailer::$SMTPKeepAlive = false |
Definition at line 353 of file class.phpmailer.php.
PHPMailer::$SMTPOptions = array() |
Definition at line 275 of file class.phpmailer.php.
Referenced by smtpConnect().
PHPMailer::$SMTPSecure = '' |
Definition at line 252 of file class.phpmailer.php.
Referenced by PHPMailerOAuth\smtpConnect(), and smtpConnect().
PHPMailer::$Subject = '' |
Definition at line 102 of file class.phpmailer.php.
PHPMailer::$Timeout = 300 |
Definition at line 315 of file class.phpmailer.php.
|
protected |
Definition at line 481 of file class.phpmailer.php.
Referenced by clearAddresses(), DKIM_Add(), doCallback(), getToAddresses(), mailPassthru(), mailSend(), and smtpSend().
|
protected |
Definition at line 625 of file class.phpmailer.php.
Referenced by createBody().
PHPMailer::$Username = '' |
Definition at line 281 of file class.phpmailer.php.
PHPMailer::$UseSendmailOptions = true |
Definition at line 176 of file class.phpmailer.php.
|
static |
Definition at line 467 of file class.phpmailer.php.
PHPMailer::$Version = '5.2.24' |
Definition at line 34 of file class.phpmailer.php.
PHPMailer::$WordWrap = 0 |
Definition at line 156 of file class.phpmailer.php.
PHPMailer::$Workstation = '' |
Definition at line 308 of file class.phpmailer.php.
PHPMailer::$XMailer = '' |
Definition at line 458 of file class.phpmailer.php.
const PHPMailer::CRLF = "\r\n" |
SMTP RFC standard line ending.
Definition at line 645 of file class.phpmailer.php.
const PHPMailer::MAX_LINE_LENGTH = 998 |
Definition at line 651 of file class.phpmailer.php.
const PHPMailer::STOP_CONTINUE = 1 |
Error severity: message, likely ok to continue processing.
Definition at line 635 of file class.phpmailer.php.
const PHPMailer::STOP_CRITICAL = 2 |
Error severity: message, plus full stop, critical error reached.
Definition at line 640 of file class.phpmailer.php.
const PHPMailer::STOP_MESSAGE = 0 |
Error severity: message only, continue processing.
Definition at line 630 of file class.phpmailer.php.