PHPMailer/PHPMailer Documentation
Guides
Sections
- A Simple Example - README
- A history of sending spam - Improving delivery rates, avoiding spam filters
- About testing email sending - README
- Act II - About the CVE 2016 10033 and CVE 2016 10045 vulnerabilities
- Addresses must be valid - Troubleshooting
- Addressing - Troubleshooting
- An older version of this guide for pre PHPMailer 6.6.0 - Gmail XOAUTH2 Using Google API Client
- Authentication failures - Troubleshooting
- Available as part of the Tidelift Subscription - PHPMailer for enterprise
- Background - Using Gmail with XOAUTH2
- Browser plugins causing multiple posts - Diagnosing email sending twice (or more)
- COMMENTARY - Microsoft OAuth2 SMTP issues
- Causes of rejection and spam filtering - Improving delivery rates, avoiding spam filters
- Certificate verification failure - Troubleshooting
- Changelog - README
- Check it’s a mail server - Troubleshooting
- Check it’s there at all - Troubleshooting
- Check you have the openssl extension - Troubleshooting
- Checking CA certificates - Troubleshooting
- Code to reproduce - bug_report
- Configure an OAuth2 app - Using Gmail with XOAUTH2
- Configure an OAuth2 app in Microsoft Azure - Microsoft Azure and XOAUTH2 setup guide
- Configure your email script - Using Gmail with XOAUTH2
- Configuring a Google client application - Gmail XOAUTH2 Using Google API Client
- Contents - Tutorial
- Contributing - README
- Credit where it’s due - Using Gmail with XOAUTH2
- DIAGNOSTICS - Microsoft OAuth2 SMTP issues
- DNS failures - Troubleshooting
- Debug levels - SMTP Debugging
- Debug output - bug_report
- Debug output format - SMTP Debugging
- Documentation - README
- Don’t add multiple addresses for yourself - Diagnosing email sending twice (or more)
- Don’t call send() more than once - Diagnosing email sending twice (or more)
- Don’t forge from addresses - Troubleshooting
- Don’t think you’re safe if… - About the CVE 2016 10033 and CVE 2016 10045 vulnerabilities
- Enabling debug output - Troubleshooting
- Encryption flavours - Troubleshooting
- Enterprise-ready open source software—managed for you - PHPMailer for enterprise
- Exchange Online, Outlook.com, live.com, office365.com, hotmail.com and other Microsoft domains - Troubleshooting
- Exploding mailing lists - Diagnosing email sending twice (or more)
- Extras - Upgrading from PHPMailer 5.2 to 6.0
- Features - README
- Fetch the token - Using Gmail with XOAUTH2
- File Attachments - Tutorial
- Findings - Microsoft OAuth2 SMTP issues
- Firewall redirection - Troubleshooting
- First time - Tutorial
- Forging the from address - Improving delivery rates, avoiding spam filters
- Gmail, OAuth2 and “Allow less secure apps” - Troubleshooting
- GoDaddy - Troubleshooting
- History - README
- How to avoid issues in future? - About the CVE 2016 10033 and CVE 2016 10045 vulnerabilities
- How to tell why your message is being rejected or classified as spam - Improving delivery rates, avoiding spam filters
- I didn't now receive a refresh token? - Gmail XOAUTH2 Using Google API Client
- IPv6 blocking - Troubleshooting
- Important part 1 - Microsoft Azure and XOAUTH2 setup guide
- Important part 2 - Microsoft Azure and XOAUTH2 setup guide
- Important! - Using Gmail with XOAUTH2
- In action - Gmail XOAUTH2 Using Google API Client
- Inline Attachments - Tutorial
- Installation & loading - README
- Installing dependencies - Gmail XOAUTH2 Using Google API Client
- Introduction - Tutorial
- It’s still not working! - Troubleshooting
- KEY DATES - Microsoft OAuth2 SMTP issues
- Legacy versions - README
- License - README
- Loading PHPMailer - Upgrading from PHPMailer 5.2 to 6.0
- Loading classes - Troubleshooting
- Localization - README
- Mail server misconfiguration - Diagnosing email sending twice (or more)
- Maximising performance - Sending to lists
- Message content tripping spam filters - Improving delivery rates, avoiding spam filters
- Messages end up in the spam folder - Troubleshooting
- Minimal installation - README
- Mismatched reverse DNS for your mail server - Improving delivery rates, avoiding spam filters
- Missing or failing DKIM signatures - Improving delivery rates, avoiding spam filters
- Missing or incorrect SPF record - Improving delivery rates, avoiding spam filters
- Namespace - Upgrading from PHPMailer 5.2 to 6.0
- Namespaced exceptions - Upgrading from PHPMailer 5.2 to 6.0
- New /test_script - changelog
- New examples - changelog
- No client certificate CA names sent - Troubleshooting
- Note - Using Gmail with XOAUTH2
- OAuth2 Support - Upgrading from PHPMailer 5.2 to 6.0
- Obtaining “Authorization Code”, “Access Token” and “Refresh Token” - Microsoft Azure and XOAUTH2 setup guide
- Older PHPMailer versions - Overriding the SMTP class
- Opportunistic TLS - Troubleshooting
- Other upgrade changes - Upgrading from PHPMailer 5.2 to 6.0
- PHP Version - Upgrading from PHPMailer 5.2 to 6.0
- PHPDocumentator (phpdocs) documentation for PHPMailer version 5.0.0 - changelog
- PHPMailer - Tutorial
- PHPMailer 6.0+ - Overriding the SMTP class
- PHPMailer For Enterprise - README
- PHPMailer code examples - README
- PHPMailer – A full-featured email creation and transfer class for PHP - README
- Performance Improvements on Windows systems - Sending to lists
- Problem description - bug_report
- Purpose - Microsoft OAuth2 SMTP issues
- Read the SMTP transcript - Troubleshooting
- SELinux blocking - Troubleshooting
- SSL handshake has read 3494 bytes and written 491 bytes - Troubleshooting
- Security - README
- Security note - README
- Setting up a mailer - Microsoft Azure and XOAUTH2 setup guide
- Sponsorship - README
- String Attachments - Tutorial
- Support - Tutorial
- TOKEN ISSUE – EXAMPLES - Microsoft OAuth2 SMTP issues
- Testing SSL outside PHP - Troubleshooting
- Tests - README
- The ‘aud’ claim - Microsoft OAuth2 SMTP issues
- Token scope - Microsoft OAuth2 SMTP issues
- Troubleshooting PHPMailer Problems - Troubleshooting
- Updating CA certificates - Troubleshooting
- Upgrading from 5.2 - README
- Using Attachments - Tutorial
- Using DMARC - Improving delivery rates, avoiding spam filters
- Using HTML Email - Tutorial
- Using PHPMailer 6.6.x and google/apiclient 2.x - Gmail XOAUTH2 Using Google API Client
- Using PHPMailer’s own autoloader - Troubleshooting
- Using composer - Troubleshooting
- Using encryption - Troubleshooting
- Version 0.90 (Tue, April 17 2001) - changelog
- Version 0.92 (Tue, May 15 2001) - changelog
- Version 0.98 (Tue, May 22 2001) - changelog
- Version 1.02 (Wed, May 23 2001) - changelog
- Version 1.03 (Thu, May 24 2001) - changelog
- Version 1.05 (Tue, May 29 2001) - changelog
- Version 1.06 (Fri, Jun 01 2001) - changelog
- Version 1.08 (Tue, Jun 05 2001) - changelog
- Version 1.09 (Fri, Jun 08 2001) - changelog
- Version 1.10 (Tue, Jun 12 2001) - changelog
- Version 1.15 (Fri, Jun 15 2001) - changelog
- Version 1.19 (Thu, Jun 21 2001) - changelog
- Version 1.20 (Mon, Jun 25 2001) - changelog
- Version 1.25 (Mon, Jul 02 2001) - changelog
- Version 1.28 (Mon, Jul 30 2001) - changelog
- Version 1.29 (Fri, Aug 03 2001) - changelog
- Version 1.40 (Sun, Aug 12 2001) - changelog
- Version 1.41 (Wed, Aug 22 2001) - changelog
- Version 1.45 (Tue, Sep 25 2001) - changelog
- Version 1.47 (Tue, Oct 16 2001) - changelog
- Version 1.50 (Thu, Nov 08 2001) - changelog
- Version 1.54 (Wed, Dec 19 2001) - changelog
- Version 1.60 (Sat, Mar 30 2002) - changelog
- Version 1.62 (Wed, Jun 26 2002) - changelog
- Version 1.65 (Fri, Aug 09 2002) - changelog
- Version 1.70 (Mon, Jun 20 2003) - changelog
- Version 1.71 (Tue, Jul 28 2003) - changelog
- Version 1.72 (Wed, May 25 2004) - changelog
- Version 1.73 (Sun, Jun 10 2005) - changelog
- Version 2.0.0 rc1 (Thu, Nov 08 2007), interim release - changelog
- Version 2.0.0 rc2 (Fri, Nov 16 2007), interim release - changelog
- Version 2.1 (Wed, June 04 2008) - changelog
- Version 2.1.0beta1 - changelog
- Version 2.1.0beta2 (Sun, Dec 02 2007) - changelog
- Version 2.2 (July 15, 2008) - changelog
- Version 2.2.1 (July 19, 2008) - changelog
- Version 2.3 (November 06, 2008) - changelog
- Version 5.0.0 (April 02, 2009) - changelog
- Version 5.0.1 (April 05, 2009) - changelog
- Version 5.0.2 (May 24, 2009) - changelog
- Version 5.1 (October 20, 2009) - changelog
- Version 5.2 (July 19, 2011) - changelog
- Version 5.2.1 (January 16, 2012) - changelog
- Version 5.2.10 (May 4th 2015) - changelog
- Version 5.2.11 (Aug 31st 2015) - changelog
- Version 5.2.12 (Sep 1st 2015) - changelog
- Version 5.2.13 (Sep 14th 2015) - changelog
- Version 5.2.14 (Nov 1st 2015) - changelog
- Version 5.2.15 (May 10th 2016) - changelog
- Version 5.2.16 (June 6th 2016) - changelog
- Version 5.2.17 (December 9th 2016) - changelog
- Version 5.2.18 (December 24th 2016) - changelog
- Version 5.2.19 (December 26th 2016) - changelog
- Version 5.2.2 (December 3, 2012) - changelog
- Version 5.2.2-beta1 (July 13, 2012) - changelog
- Version 5.2.2-beta2 (August 17, 2012) - changelog
- Version 5.2.2-rc1 (September 28, 2012) - changelog
- Version 5.2.2-rc2 (November 6, 2012) - changelog
- Version 5.2.20 (December 28th 2016) - changelog
- Version 5.2.21 (December 28th 2016) - changelog
- Version 5.2.22 (January 5th 2017) - changelog
- Version 5.2.23 (March 15th 2017) - changelog
- Version 5.2.24 (July 26th 2017) - changelog
- Version 5.2.25 (August 28th 2017) - changelog
- Version 5.2.27 (November 14th 2018) - changelog
- Version 5.2.3 (February 8, 2013) - changelog
- Version 5.2.4 (February 19, 2013) - changelog
- Version 5.2.5 (April 6th 2013) - changelog
- Version 5.2.6 (April 11th 2013) - changelog
- Version 5.2.7 (September 12th 2013) - changelog
- Version 5.2.8 (May 14th 2014) - changelog
- Version 5.2.9 (Sept 25th 2014) - changelog
- Version 6.0 (August 28th 2017) - changelog
- Version 6.0.1 (September 14th 2017) - changelog
- Version 6.0.2 (November 29th 2017) - changelog
- Version 6.0.3 (January 5th 2018) - changelog
- Version 6.0.4 (March 27th 2018) - changelog
- Version 6.0.5 (March 27th 2018) - changelog
- Version 6.0.6 (November 14th 2018) - changelog
- Version 6.0.7 (February 1st 2019) - changelog
- Version 6.1.0 (September 27th 2019) - changelog
- Version 6.1.1 (September 27th 2019) - changelog
- Version 6.1.2 (November 13th, 2019) - changelog
- Version 6.1.3 (November 21st, 2019) - changelog
- Version 6.1.4 (December 10th, 2019) - changelog
- Version 6.1.5 (March 14th, 2020) - changelog
- Version 6.1.6 (May 27th, 2020) - changelog
- Version 6.1.7 (July 14th, 2020) - changelog
- Version 6.1.8 (October 9th, 2020) - changelog
- Version 6.2.0 - changelog
- Version 6.3.0 (February 19th, 2021) - changelog
- Version 6.4.0 (March 31st, 2021) - changelog
- Version 6.4.1 (April 29th, 2021) - changelog
- Version 6.5.0 (June 16th, 2021) - changelog
- Version 6.5.1 (August 18th, 2021) - changelog
- Version 6.5.2 (November 25th, 2021) - changelog
- Version 6.5.3 (November 25th, 2021) - changelog
- Version 6.5.4 (February 17th, 2022) - changelog
- Version 6.6 (February 28th, 2022) - changelog
- Version 6.6.1 (June 14th, 2022) (unreleased) - changelog
- Version 6.6.2 (June 14th, 2022) - changelog
- Version 6.6.3 (June 20th, 2022) - changelog
- Version 6.6.4 (August 22nd, 2022) - changelog
- Version 6.6.5 (October 7th, 2022) - changelog
- Version 6.7 (December 5th, 2022) - changelog
- Version 6.7.1 (December 8th, 2022) - changelog
- Version 6.8.0 (March 6th, 2023) - changelog
- Version 6.8.1 (August 29th, 2023) - changelog
- Version 6.9.0 (November 23rd, 2023) - changelog
- Version 6.9.1 (November 25th, 2023) - changelog
- Version 6.9.2 (October 9th, 2024) - changelog
- Version 6.9.3 (November 22nd, 2024) - changelog
- Welcome to the PHPMailer wiki! - Home
- What’s changed since moving from SourceForge? - README
- Where else to get help? - Troubleshooting
- Why must we request for another access token? - Gmail XOAUTH2 Using Google API Client
- Why you might need it - README
- You’re safe if… - About the CVE 2016 10033 and CVE 2016 10045 vulnerabilities
- cURL error 60 - Troubleshooting
- class.phpmailer.php: - changelog
- class.smtp.php: - changelog
- exceptions.phps - README
- extending.phps - README
- gmail.phps - README
- gmail_xoauth.phps - README
- i:/C=US/O=Equifax/OU=Equifax Secure Certificate Authority - Troubleshooting
- issuer=/C=US/O=Google Inc/CN=Google Internet Authority G2 - Troubleshooting
- mail.phps - README
- mailing_list.phps - README
- pop_before_smtp.phps - README
- send_file_upload.phps - README
- send_multiple_file_upload.phps - README
- sendmail.phps - README
- simple_contact_form.phps - README
- smime_signed_mail.phps - README
- smtp.phps - README
- smtp_check.phps - README
- smtp_low_memory.phps - README
- smtp_no_auth.phps - README
- ssl_options.phps - README
- verify return:0 - Troubleshooting
- “Could not instantiate mail function” - Troubleshooting
- “SMTP Error: Could not connect to SMTP host.” - Troubleshooting