Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Adds SMTP support for sending e-mails using the PHPMailer library. Comes with detailed configuration instructions for how to use Google Mail as mail server.
The main differences to the SMTP Authentication Support module are:
- This module uses the PHPMailer library itself, and the SMTP Authentication Support module has forked and includes the smtp and mail classes from PHPMailer library.
- This module has support for improved bulk-mail performance through SMTP keep-alive connections (if supported by the mail server).
- This module has a built-in e-mail rerouting option (useful during site building and development).
Requirements
- PHPMailer library, version 5.2.21+ NOTE: Due to both CVE-2016-10033 and CVE-2016-10045, you are strongly recommended to update your PHPMailer library to at least version 5.2.21. Details for these vulnerabilities can be found at these links:
- About the CVE 2016 10033 and CVE 2016 10045 vulnerabilities
- CVE-2016-10033 (the 5.2.18 version of the PHPMailer library addresses this)
- CVE-2016-10045 (the 5.2.20 version of the PHPMailer library addresses this)
- Libraries API (for the D7 compatible version only)
Versions
- 7.x-3.x: This is for using PHPMailer 5.2.x (requires PHP 5.0 or later) with Drupal 7.x.
- 7.x-4.x: This will be for using PHPMailer 6.x (requires PHP 5.5 or later) with Drupal 7.x (currently a work in progress).
- 8.x-3.x: This is currently for using PHPMailer 5.2.x with Drupal 8.x but will eventually move to using PHPMailer 6.x with Drupal 8.x.
Extensions and integration
Modules that complement and extend PHPMailer module's functionality:
- Mime Mail to send HTML e-mails
- Personalized E-mails to adjust the sender name displayed in e-mail clients.
Installation
for 7.x-3.x: Read documentation
Credits
Original authors:
Current maintainers:
- Jason Flatt (oadaeh)
Supporting organizations:
Initial creation, development, and maintenance of the D5, D6, and D7 compatible versions.
Current maintenance.
Current maintenance of the D7 compatible version and creation of the D8 compatible version.
Project information
- 7,456 sites report using this module
- Created by sun on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
7.x-3.1
released 6 June 2018
Works with Drupal: 7.x
✓ Recommended by the project’s maintainer.
Development version: 7.x-3.x-dev updated 6 Jun 2018 at 03:43 UTC