Skip to content

backdrop-contrib/smtp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMTP Authentication

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.

Installation

  • Install this module using the official Backdrop CMS instructions at https://backdropcms.org/guide/modules

  • Visit the configuration page under Administration > Configuration > System > SMTP Authentication (admin/config/system/smtp) and enter the required information.

  • To send SMTP mail using OAuth2 authentication (required for Google mail), install the SMTP OAuth Authentication submodule (part of this package) and the Google Auth module (which it depends upon).

Requirements

  • 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.

License

This project is GPL v2 software. See the LICENSE.txt file in this directory for complete text.

Current Maintainers

Credits

This module is a port of the SMTP module for Drupal which was written and maintained by a large number of contributors, including:

The SMTP OAuth Authentication submodule was written for Drupal by Sadashiv Dalvi and ported to Backdrop by Robert J. Lang.

About

Backdrop CMS port of the SMTP module for Drupal 7

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages