Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module integrates Drupal's messaging system with GC Notify to send emails. It allows you to configure GC Notify as a message notifier, sending messages to GC Notify for delivery. An optional queue worker helps manage sending rates for large applications.

This module provides integration between Drupal messaging (message, message_subscribe, message_notify) and the GC Notify service. It creates a new message notifier called "GC Notify" that can be selected on the configuration form for message_subscribe. The configuration allows for direct posting to the GC Notify rest interface and from there the message will be sent via email.

The module also has a QueueWorker that can be enabled to allow throttling by introducing a wait time between servicing queued items before sending them to GC Notify.

Collaboration on the is module is greatly appreciated.

Set-up is a bit interesting because of how messaging works, but once you do it it is not that bad. Basically, it is:

  1. enable message, message_subscribe, message_notify and message_gcnotify (also recommend ultimate cron if using queues)
  2. message_subscribe module provides a great example module of potential hooks that you would use to start the messaging process
  3. configure your messaging template(s), add a reference field for the node that has changed requires notifications to go out
  4. add a field for email body to your template, use manage display to set p0 to subject and p1 to body.
  5. Add a message with tokens in the subject and body
  6. configure message_subscribe to use the GC Notify notifier
  7. Following the instruction on GC Notify to set up your account and create a template with ((subject)) as the subject and ((body)) as the body so that Drupal can do the heavy lifting for multilingualism and token replacement.
  8. configure this module with the url, template ID and API key from GC Notify. Select 'use queue' if you have a large application that requires throttling.

I will add more configuration details as the project progresses.

Activity

Total releases
1
First release
Jan 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Release date
1.0.3 Stable Jan 21, 2025