Send (authenticated) email through external SMTP servers.
This module allows your site 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 PHP.
Install this module using the official Backdrop CMS instructions at
Visit the configuration page under Administration > Configuration > System >
SMTP Authentication (admin/config/system/smtp) and enter the required
This module sends email by connecting to an SMTP server. Therefore, you need
to have access to an SMTP server for this module to work. Mandrill and
SendGrid are good examples of mail server service providers.
The following PHP extensions need to be installed: ereg, hash, date & pcre.
Optional: To connect to an SMTP server using SSL, you need to have the
openssl package installed on your server, and your webserver and PHP
installation need to have additional components installed and configured.
Backdrop will often use the email address entered into Administrator ->
Configuration -> Site information -> E-mail address as the from address. It is
important for this to be the correct address and some ISPs will block email that
comes from an invalid address.
Connecting to an SMTP server using SSL is possible only if PHP's openssl
extension is working. If the SMTP module detects openssl is available it
will display the options in the modules settings page.
Sending mail through Gmail requires SSL or TLS.
This project is GPL v2 software. See the LICENSE.txt file in this directory for
- Jen Lampton (https://github.com/jenlampton).
- Seeking additional maintainers.
- Ported to Backdrop CMS by biolithic (https://github.com/biolithic).
This module is a port of the SMTP module for Drupal which was written and maintained by a large number of contributors, including: