Module Description
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
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
Module Link
Project Usage
138016
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module solves the problem of bypassing the PHP mail() function in Drupal and sending emails directly to an SMTP server with support for authentication and SSL connections.
Data Name
smtp