This module allows Drupal to bypass the PHP mail() function and send email directly to an SMTP server. The module supports SMTP authentication and can even connect to servers using SSL if supported by PHPMailer.
What does SMTP do?
It sends mail via the SMTP protocol using the PHPMailer library. While it can be a standalone module for the Drupal mailsystem, you can also use the mailsystem module to manage multiple mailer modules including SMTP.
What does SMTP NOT do?
This module does not support (and will not support) sending mail via other protocols or APIs other than SMTP.
For Example: While services like sendgrid do support SMTP, you may get a better experience using the Sendgrid Integration Module
Drupal 8/9 version requires PHPMailer 6.x
If you're using the most recent version of SMTP, you must download the PHPMailer library. It is suggested you install the SMTP module via composer:
composer require drupal/smtp
Project information
- Module categories: Integrations
- 134,080 sites report using this module
- Created by LukeLast on , updated
- Drupal 10 is here!
SMTP 8.x-1.2 will support Drupal 10.
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 8.x-1.x-dev updated 10 Jan 2023 at 22:02 UTC
PHP 8.0, PHP 8.1, PHP 8.2 compatibility
Development version: 7.x-1.x-dev updated 10 Jan 2023 at 23:07 UTC