Drupal SMTP Integration Guide
Guide to integrate Mailazy with your Drupal application
Prerequisites
You need to complete these given prerequisites, you can skip the step if you have already completed.
- Sign up for a Mailazy account.
- Complete Domain Authentication.
- Generate the Mailazy Access Key
Integrate Mailazy with Drupal
To send emails from Drupal using Mailazy, you may use the Swift Mailer module, or the PHPMailer SMTP Module depending on your needs.
Using the SMTP Authentication Support Module
To use Mailazy with Drupal, use the SMTP Authentication Support module. Install a version of this module that is compatible with your version of Drupal.
SMTP Module
Open your modules page, find the SMTP module, and configure it with the following settings:
SMTP Server - smtp.mailazy.com
SMTP Port - 587
Username - mailazy_apikey
Password - mailazy_secret
SMTP Module Configuration
Using the Swift Mailer Module
To use the Swift Mailer module, install a version of this module that is compatible with your version of Drupal.
Configuration for this module is largely the same as SMTP Authentication Support Module.
SMTP Server - smtp.mailazy.com
SMTP Port - 587
Username - mailazy_apikey
Password - mailazy_secret
SMTP Module Configuration
Using the PHPMailer SMTP Module
PHPMailer SMTP sends email via SMTP using the latest PHPMailer library and is RFC-compliant. It requires the Mail System module. See the project page for more details.
Install using composer and enable.
composer require drupal/phpmailer_smtp
Once installed access admin/config/system/phpmailer-smtp to configure the module.
- Primary SMTP server - smtp.mailazy.com
- SMTP port - 587
- Use Secure Protocol - TLS
Under SMTP Authentication, set your username as mailazyapikey and password as mailazysecret:
- Username - mailazy_apikey
- Password - mailazy_secret