To send emails from Drupal using SendGrid, you may use the Sendgrid Integration module, the SMTP Authentication Support module, or the Swift Mailer module depending on your needs.

Using the SendGrid Integration Module

The SendGrid Integration Module uses the SendGrid API webservices to send email. It does not use SMTP. Depending on the workload of your website, this could be of benefit to you in performance. This module also provides charts for reports of vital statistcis. The module does require an advanced knowledge of Drupal in order to install and setup. Usage of Drush is required.

Download and install the SendGrid Integration Module from Drupal.org and perform updates via Drush with Composer Manger.

Once installed access admin/config/services/sendgrid to configure your API credentials.

For detailed instructions, please refer to the module documenation.

Using the SMTP Authentication Support Module

To use SendGrid with Drupal, use the SMTP Authentication Support module. Install a version of this module that is compatible with your version of Drupal.

Open your modules page, find the SMTP module, and configure it with the following settings:

  • SMTP Server - smtp.sendgrid.net
  • SMTP Port - 587
  • Use Encrypted Protocal - No. If you want encryption choose “Use SSL” and set SMTP Port to 465
  • Username - SendGrid Username
  • Password - SendGrid Password

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