Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

MailChannels Email API

No security coverage Under active development

MailChannels sends your Drupal email, such as order confirmations, password resets, form notifications and account emails, through the MailChannels Email API so it reaches the inbox. Connect with an API key, verify your domain, and every message is tracked: you can see deliveries, bounces and complaints, and bounced addresses are suppressed automatically.

MailChannels has delivered email for web hosting providers for twenty years. If you run a platform where many customers send, each one can have its own sub-account with its own limits, so one sender's problem never affects the rest.

Start free with 100 emails a day, then pay one simple price per send.

Features

  • A core mail backend (MailInterface) you choose on the module's settings page; installing the module does not change how your site sends mail.
  • A Symfony Mailer transport (mailchannels+api://default) for sites using Mailer Plus / Mailer Transport (drupal/symfony_mailer 2.x).
  • Plain-text and HTML mail, Cc and Bcc, Reply-To, custom headers, and file and inline attachments (including Mime Mail and Email Attachment Helper formats).
  • The API key stays in settings.php, out of exported configuration. From, Sender and envelope addresses must be on an allowlist you set there.

Requirements

  • Drupal 11.4 or later, PHP 8.3 or later.
  • A MailChannels account with an Email API key, and a sending domain set up for MailChannels (SPF and Domain Lockdown).

Installation

  1. composer require drupal/mailchannels_email_api
  2. Add the key and your allowed senders to settings.php:
    $settings['mailchannels_api_key'] = getenv('MAILCHANNELS_API_KEY') ?: '';
    $settings['mailchannels_allowed_senders'] = ['[email protected]'];
  3. Enable the module, grant Administer MailChannels Email API to the right administrators, and choose the backend at Configuration > System > MailChannels Email API.

Limitations

Messages with more than one Reply-To address, or with envelope recipients that differ from the visible recipients, are rejected before anything is sent. The module does not retry or fall back to SMTP: a failed result can mean acceptance was uncertain, and resending automatically could deliver mail twice.

Support

File issues on GitHub; the MailChannels team supports the module on a best-effort basis. MailChannels customers with a problem in the service itself can contact MailChannels support.

Drupal 11 · not 10 PHP ^8.3

Ask your assistant about MailChannels Email API

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

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
1
Tracked since
Nov 2026
Latest release
4 hours ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.0 Stable 11 PHP ^8.3 Nov 19, 2026