Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Postal Mail Delivery Platform Integration

Security covered Maintenance fixes only 4 sites

This module allows Drupal to send emails using the Postal mail delivery platform. It integrates with Drupal's mail system to let you configure Postal as your default email sender and can track email delivery status via webhooks.

Postal is a complete and fully featured mail delivery platform for use by websites and web servers. Think Sendgrid, Mailgun or Postmark but open source and ready for you to run on your own servers.

Features

This module makes it possible to send mail from Drupal using the Postal API. The functionality is provided as a MailInterface plugin.

Use the the Mail System module to configure Postal as the site default mail system or configure specific modules to use Postal as the mail system.

Requirements

  • The Mail System module
  • A Postal account with API credentials

Installation

Install as you would normally install a contributed Drupal module. For further information, see Installing Drupal Modules.

Configuration

Configure the module using the settings form available at /admin/config/services/postal, and select Postal Mail Delivery Platform as the default mail system for both formatter and sender or configure specific modules to use Postal Mail Delivery Platform using the Mail System configuration available at /admin/config/system/mailsystem.

Webhooks

The module provides a webhook endpoint that can be used to track mail delivery status. The endpoint is available at /postal/webhook. The endpoint is protected by a secret key that can be configured in the settings form available at /admin/config/services/postal.

When a webhook is received the module will dispatch a \Drupal\postal_mail\Event\WebhookEvent event that can be subscribed to in custom code. The event contains the payload as specified in the Postal API documentation.

It is also possible to use the Webhooks module if you want a more "site builder" friendly way to configure and work with webhooks.

Drupal 10–11

Ask your assistant about Postal Mail Delivery Platform Integration

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Sep 2024
Latest release
10 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
1.0.4 Stable 10–11 Nov 25, 2025
1.0.3 Stable 10–11 Oct 4, 2024
1.0.2 Stable 10 Sep 6, 2024
1.0.1 Stable 10 Sep 6, 2024
1.0.0 Stable 10 Sep 6, 2024
1.0.x-dev Dev 10–11 Sep 3, 2024