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

Supporting organizations: 
Drupal 8+ Module maintanence
Maintaining this module

Project information

Releases