Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

SendGrid Integration

Security covered

Part of the Sendgrid ecosystem · 4 projects

View on drupal.org

Sendgrid is a transactional email service that is used by several large companies to handle delivery of messages. Zapier blog has a great explanation of what transactional emails are and why you should care about them (especially if you are doing eCommerce).

This module works with Drupal mail system to offer a flexible way of sending emails out of Drupal. Emails are sent through SendGrid's cloud-based email delivery services by using their Web API (RESTful) that allows for quick and fast email transactions out of a Drupal website instead of slow SMTP transactions. Sendgrid is a very reliable transactional email service with some market-leading statistics for inbox penetration and a very advanced API. You can read more about SendGrid here.

To use SendGrid's services by this module, you need to have an account with their service. SendGrid generously offers a free account that allows you to send up to 100 emails per day for free. Please see their website to confirm the details of their free trial and service offerings.

Optional:
Configure Cron to get more reliability for email sending in some error cases (some failed messages will be added to cron queue for later delivery), see more about cron.

Sendgrid API V3

This module is developing a new release, 2.0, that will be using the V3 API. Development is actively taking place in the 8.x-2.x branch.

Library Information

Required API Library: https://github.com/taz77/sendgrid-php-ng

Extending functionality (Hooks)

Check sendgrid_integration.api.php

Other modules

One other module exists for Sendgrid, Sendgrid API module.

How does this module differ?

Sendgrid Integration module uses Guzzle supplied by Drupal Core for the HTTP client. With the introduction of Drupal8, came Guzzle included in the core. Years ago Sendgrid used Guzzle for their official library and Sendgrid Integration used the official library. A decision was made by the developers at Sendgrid to write another HTTP client rather than use Guzzle. To eliminate redundancy and requirements creep we choose to fork the Sendgrid library and maintain it on our own that is based on Guzzle to fit well within the Drupal ecosystem.

This project is not affiliated with SendGrid, Inc and is not funded in any way by Sendgrid, Inc.

The library being used for this module is maintained on Github as a fork of the official Sendgrid PHP library. The library sendgrid-php-ng makes use of Guzzle 6.x.

Drupal 7 PHP Compatibiltiy

While Drupal 7 officially has a minimum PHP version of 5.2.5, this module only supports version 5.5 or newer.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Feb 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Slowing

Release Timeline

Releases

Version Type Core Release date
8.x-2.3 Stable Aug 29, 2024
8.x-2.2 Stable May 23, 2023
8.x-2.1 Stable Feb 24, 2023