Strip newlines to prevent header injection.
PHPMailer::set
Set or reset instance properties.
PHPMailer::mb_pathinfo
Multi-byte-safe pathinfo replacement.
PHPMailer::filenameToType
Map a file name to a MIME type.
Advertisement
PHPMailer::_mime_types
Get the MIME type for a file extension.
PHPMailer::html2text
Convert an HTML string into plain text.
PHPMailer::msgHTML
Create a message body from an HTML string.
PHPMailer::getCustomHeaders
Returns all custom headers.
Advertisement
PHPMailer::addCustomHeader
Add a custom header.
PHPMailer::fixEOL
Ensure consistent line endings in a string.
PHPMailer::isError
Check if an error occurred.
PHPMailer::serverHostname
Get the server hostname.
Advertisement
PHPMailer::lang
Get an error message in the current language.
PHPMailer::rfcDate
Return an RFC 822 formatted date.
PHPMailer::setError
Add an error message to the error container.