Outbound – Documentation
Version 1.0.4, released December 3, 2026. Overview · Changelog · License
Outbound sends every email ExpressionEngine produces — Communicate, member registration and password resets, contact forms, comment notifications, and third-party add-ons such as Freeform or CartThrob — through a modern transactional email service over its HTTP API, with ordered failover, a full send log and bounce handling.
Supported transports: Postmark, Resend, Mailgun, SendGrid, Amazon SES, Brevo, plus SMTP (any server; it reports no deliveries or bounces, so it is best kept as a fallback) and a Capture transport for development sites.
Requirements
- ExpressionEngine 7.5 or later
- PHP 8.1 or later with the curl, openssl, mbstring and json extensions
- Outbound HTTPS access from the web server to your email provider
Installation
- Copy the
outboundfolder tosystem/user/addons/outbound. - In the control panel open Developer → Add-ons and install Outbound.
- Open Outbound → Transports, configure the provider you use, enable it and send yourself a test message.
- Set up the provider's webhook (Transports → the provider → Delivery events) so bounces and complaints reach the suppression list.
From then on every email ExpressionEngine sends goes through your chain. Nothing changes in your templates or add-ons.
Usage
Transports
Each transport is configured on its own page: the API key (stored encrypted), provider-specific options such as the Postmark message stream, the Mailgun region or the SES configuration set, and the timeout. A transport is only used once it is enabled and in the chain.
Reset, at the foot of a transport's page once anything is saved for it, puts the transport back as it was before it was set up: every saved setting and key is removed, it is turned off and it is taken out of every route (a route left with no transport is removed). A transport with a webhook gets a new webhook URL, so give the provider the new one if you set the transport up again. The send log and the suppression list are not touched. A value set in config.php is not stored by Outbound and still applies, and so does a route set there that names the transport. A reset cannot be undone.
Send as makes every message sent through that transport go out from one address, for providers that only send from a verified address or domain (Postmark's Sender Signatures, Resend's and SES's verified domains). The message's own From becomes the Reply-To unless it already has one, so replies still reach the sender. Leave it empty to send as the original From; then every From address your site uses must be verified with the provider.
Send test delivers the standard test message through that transport with the values in the form as typed, an emptied field included (only a key or password left blank means the saved one), and shows the provider's full response. A test goes to the address you type even when that address is on the suppression list. The From defaults to the site's webmaster email, which is what most ExpressionEngine email goes out as; change it to test another address. Every test is logged like any other message. A value set in config.php is always tested as set there, and an SMTP test against a host other than the saved one needs that host's password typed: the saved password is only ever sent to the saved host.
SMTP with encryption "None" takes a username and password only for a server on the same machine (localhost, a local Mailpit); anywhere else choose TLS (STARTTLS, usually port 587) or SSL (port 465), so the password does not cross the network readable. It signs in with a username and password only (AUTH PLAIN or LOGIN): a mailbox that accepts nothing but OAuth sign-in cannot be used. Certificates are verified unless Verify the server certificate is switched off.
Domain check looks up the SPF, DMARC, DKIM and MX records of your From domain and says, in plain English, what the provider still needs. It knows how each provider authenticates: for Resend and Postmark it checks the Return-Path subdomain they have you point at them (send. and pm-bounces.) rather than the domain's own SPF record, which those providers do not use; for Mailgun and Brevo it checks the domain's SPF record, following one level of includes, and for Mailgun it reads SPF and DKIM at the transport's Sending domain (mg.example.com), where Mailgun signs, and DMARC and MX at the From domain; a DKIM record counts only when it holds a key, so a wildcard record is not mistaken for one; a subdomain without a DMARC record of its own is checked against its parent's, as receivers do. Each row says which records it looked up, so a result can be verified with any DNS tool. Lookups use the web server's own resolver, so a record published a moment ago may take a while to show.
The chain and failover
The Transports page lists every transport in order. A message is tried from the top down until one accepts it. A network error, a timeout, a rate limit or a 5xx answer moves the message to the next transport, and so does a provider refusing its own account: a wrong or revoked API key, or no sending credit left, says nothing about the message, and the next transport is another account. A permanent error about the message itself (an unverified sender, an invalid recipient) stops the chain, because the next provider would refuse the same thing. Settings → Also fail over on permanent errors changes that.
When every transport fails, Settings → When every transport fails decides whether the message is handed to ExpressionEngine's own mailer (default, logged as "Handed to EE") or reported as a failure to whatever sent it. Addresses on the suppression list are taken out before EE sends it. Outbound does not email anyone when this happens: the dashboard, outbound:status and the outbound_status tool report recent failures, so look at one of them now and then.
Unless it is sent in the background (below), a message is sent while the page that sent it loads, so a provider that hangs holds up a contact form or a registration for its full timeout, and then the next transport's. The default of 15 seconds per transport suits most sites; keep it short rather than long.
Uncertain timeouts
Most failures are certain: the provider said no, or the message never reached it. One is not: the provider received the whole message and then did not answer in time. It may well have accepted it, and trying the next transport can deliver it twice. Outbound tells these apart (a timeout while connecting or uploading is an ordinary failure and fails over as usual), and Settings → After an uncertain timeout decides what happens:
- Try the next transport for system email, stop for everything else (default). A second password reset is harmless; a missing one locks a member out. Anything else is logged as Unknown and not sent again.
- Always try the next transport (may send twice).
- Always stop and wait for the webhook.
Every message carries Outbound's own tag in the provider's metadata (Postmark Metadata, Resend and SES tags, Mailgun variables, SendGrid custom arguments, Brevo's X-Mailin-custom header), named outbound_id. When the provider's webhook later reports the message as delivered, deferred, bounced, complained about or unsubscribed, the tag finds it in the log and an Unknown entry becomes Sent (a rejection or drop does not count). For Amazon SES this needs the configuration set's event publishing (identity notifications carry no tags), and SendGrid leaves the tag off some asynchronous bounces. The tag is the log entry's number and a short signature made with a secret kept for your site, so a staging and a production site that share one provider account never settle each other's messages. Mailgun delivers its variables to the recipient in an X-Mailgun-Variables header (and Brevo may pass X-Mailin-custom on), so a recipient who reads the headers can see that number; it reveals nothing else. An entry that stays Unknown is flagged on the dashboard for a week: check the provider's activity log before resending it.
A 2xx answer counts as sent unless it carries the provider's own error code, even one Outbound cannot otherwise read.
Before it sends a message with attachments, Outbound makes sure the request has the memory for them: each transport holds several copies at once, about eight times the attachments' size. When PHP's memory_limit is too low, Outbound raises it for that request, up to memory_ceiling_mb (512 MB; set it in config.php, 0 to never raise the limit). When the memory cannot be had, the message goes to ExpressionEngine's own mailer instead, as does one whose attachment file was there when ExpressionEngine built the message and can no longer be read. Either is logged as Handed to EE with the reason, and addresses on the suppression list are taken out first, as they are when every transport fails.
A file ExpressionEngine itself could not read is another matter: most often an upload that failed because the file was larger than PHP's upload_max_filesize. ExpressionEngine builds no message at all then, and its own mailer would deliver an email with no body. Outbound takes that file out and has ExpressionEngine build the message again, then sends it without the file; its log entry lists the file as not sent. Should every transport fail and the message go to ExpressionEngine's mailer, it goes with its body too.
Background sending
A large Communicate send, or any kind of email you choose, can be queued and sent by a worker instead of while the page loads. Tick the sources under Settings → Background sending (Communicate is ticked by default) and start the worker from cron every minute:
* * * * * php /path/to/system/ee/eecli.php outbound:work
Where the host has no command-line cron, have a web cron service call the worker URL shown on the same page every minute instead (it carries the prune URL's token). Each run sends up to 200 messages and for no longer than 50 seconds, every site at once, so a mailing of 1,000 takes about five minutes to leave. The command takes --limit and --seconds to change that (outbound:work --limit=1000); mind your provider's own rate limit before raising it.
- A queued message is logged as Queued at once, and the page that sent it carries on; the worker then sends it through its route or the chain.
- A retryable failure (network, timeout, rate limit, 5xx) from any transport in the chain is tried again after 1, 5, 15 and 60 minutes; after the fifth try it is Failed. A queued message cannot be handed to ExpressionEngine's mailer, since the request that sent it is over.
- Deleting a queued message from the log (or pruning it) cancels it and removes its queued copy at once. Resend is refused while a message is still queued, since the worker will send it.
- An address that bounces or complains while its message waits is taken out before the worker sends it.
- System email (password resets, account activation, control panel login) is never queued. Add-ons that send their own account email (Solspace User) are not offered for background sending for the same reason.
- Until the worker has run once, and whenever it has not run for 15 minutes, every message is sent at once, so a site whose cron job stops never piles up mail nobody sends. Settings shows whether the worker is running; the dashboard warns when one that was running has stopped, and when queued mail has waited more than five minutes.
- Two workers never send the same message: each claims a message for 20 minutes (longer than the slowest possible send), and a message already sent is never sent again even if a worker dies halfway. A message that stops the worker five times is marked Failed.
- The queue holds each message whole, attachments included, until it is sent, whatever Store bodies and the redaction patterns say: those apply to the log, and the queued copy is deleted the moment the message is sent. A message larger than MySQL accepts in one query (
max_allowed_packet, often 4–16 MB; at most 20 MB), and anything past 5,000 waiting messages for one site, is sent at once instead.
Routes
A route sends one kind of email through transports of its own, while everything else takes the chain: account email through Resend and form submissions through SendGrid, say, or Communicate through a provider kept apart from your transactional mail (Postmark requires broadcasts on their own stream). Set them up under Transports → Routes: Add a route, choose the kind of email and its transports, and Save routes. Rows are added, removed and reordered in the page; nothing changes until you save.
- When the email is — System email (password resets, account activation and control panel login, whatever sent them), or a source as the send log's Source column names it: Member, Member email, Contact form, Communicate, Comment notification, Forum, Freeform, CartThrob and so on. The menu offers EE's own senders, the email-sending modules and add-ons Outbound knows that are installed on the site, and every source already in the log. A third-party add-on is named after its folder under
user/addons(my_forms→ "My Forms"), whatever the system folder is called; for one that has not sent yet choose Another source and type its name. Each kind of email belongs to one route: a source another route already uses is greyed out. - Send it through — a failover path of up to three different transports (one picked in a slot is greyed out in the route's other slots): the first is tried, and on the same errors that move the chain on (network, timeout, rate limit, 5xx) the next one, then the third. Only transports switched on in the chain above are used: the Will try column shows which, and names any that are switched off. If none is on, the route's messages take the chain and the dashboard says so. A route does not fall back to the chain after its own transports fail: add the chain's first transport as the route's last to get that.
Routes are checked from the top and the first that matches is used; the arrows reorder them. A password reset matches both System email and Member, so list System email first when you use both. Each message's log entry shows the route that chose its transports.
Every transport a route uses sends with your From address, so each provider needs that domain verified; run the Domain check on each transport's page. Bounces and complaints from every provider feed the one suppression list.
In config.php:
$config['outbound'] = [
'chain' => ['postmark', 'smtp'],
'routes' => [
['match' => 'system', 'chain' => ['resend', 'postmark']],
['match' => 'Freeform', 'chain' => ['sendgrid', 'postmark']],
],
];
Send log
Every message gets a log entry with its envelope, bodies (according to the privacy setting), attachment names, every attempt with the provider's response, and the delivery events the provider's webhook reported later. From the detail page a Super Admin can resend the message to the same recipients (after a confirmation that says how many) or to another address, or delete it. A resend sends the copy stored in the log: without the attachments, as plain text when Store bodies is "Text only", and with anything a redaction pattern matched replaced by [redacted], so do not resend a password reset on a site that redacts its link. The page says when either applies.
Sent means a provider accepted the message, not that it arrived. Whether it was delivered, bounced or marked as spam comes later from the provider's webhook and shows as events on the log entry; without a working webhook the log knows nothing past "Sent". SMTP has no webhook at all, so a message sent through SMTP never shows more than that. A provider also accepts mail it is not set up to sign for your domain, and the receiving side may then flag it as unauthenticated, junk it or refuse it: run the transport's Domain check before trusting a new setup.
The HTML preview is isolated from the control panel (no scripts or forms, and its links do nothing) and loads nothing remote until you click Load remote images, so opening a message does not register as an open with the provider or tell the email's image hosts who looked. The bodies of system email (password resets, account activation, control panel login) are shown only to Super Admins, whatever roles may view other bodies: their links open a member's account.
Retention is set in days under Settings. Pruning runs automatically on roughly one send in a hundred, from the prune URL shown in Settings (for cron), or with php system/ee/eecli.php outbound:prune.
Suppression list
Hard bounces and spam complaints reported by the provider add the address to the suppression list. Only an event that names the address does: Resend reports a bounce for the email as a whole, so a bounce of a message sent to several addresses at once is recorded and suppresses none of them (ExpressionEngine's own senders mail one recipient at a time), and a provider declining to send (Brevo's blocked, SendGrid's dropped for a reason other than the address) is recorded only. Later sends to a suppressed address are logged as "Suppressed" and not delivered. Registration, password reset and login emails ignore the list by default so members can always recover their account (Settings → Always send system email).
Addresses can be added and removed by hand and exported as CSV; everyone who can open the page can search it.
Importing a provider's list. A provider you have sent through for a while already knows addresses that bounce or complain. Import the suppression list on the transport's page (or outbound:sync-suppressions) adds every one of them to Outbound's list, so they are skipped on every transport, not just that one. Addresses already on the list are left as they are, nothing is ever removed, and running it again picks up what is new. Some providers' sending keys cannot read the list:
| Provider | What is imported | What the key needs |
|---|---|---|
| Postmark | the message stream's suppressions (hard bounces, spam complaints, manual) | the Server API token, as for sending |
| Resend | bounces, complaints and manual suppressions | a Full access key (a Sending access key can only send) |
| Mailgun | the domain's bounces, complaints and unsubscribes | the account's API key (a Domain Sending Key can only send) |
| SendGrid | bounces, invalid addresses, spam reports and global unsubscribes (not blocks, which are usually temporary) | read access to Suppressions (a Mail Send only key cannot read them) |
| Amazon SES | the region's account-level suppression list | ses:ListSuppressedDestinations on the IAM user, besides ses:SendEmail |
| Brevo | blocked transactional contacts; an unsubscribe from one sender only is left out | the API key, as for sending |
A refusal says which of these is missing. A very large list may need more than one run: each stops after about a minute and the next one, within a day, carries on from where it stopped (the command line runs for up to ten minutes, and exits with an error when a provider refused, so a cron job notices). SES allows one request a second, so it is the slowest.
Webhooks
Each provider gets its own webhook URL with a secret token, shown on the transport's page; New URL replaces the token if the URL has leaked (the old one stops working at once, so give the provider the new one straight away). The prune URL's New URL on Settings also changes the worker URL, which shares its token. A token set in config.php is changed there, not here. On top of the token Outbound verifies the provider's own signature where one exists:
- Resend: signing secret (
whsec_…) - Postmark: HTTP Basic auth credentials you set on both sides, and an optional IP allowlist
- Mailgun: the HTTP webhook signing key
- SendGrid: the Signed Event Webhook verification key
- Amazon SES: Amazon SNS message signatures; the subscription is confirmed automatically, and the topic it came from is pinned (SNS topic ARN), so notifications from any other topic are refused
- Brevo: the Token (sent as Authorization: Bearer) or Basic auth method you choose for the webhook in Brevo, entered on both sides; Brevo does not sign webhook bodies
For Postmark and Brevo the extra check is optional; without it the URL's token is the only thing standing between the internet and your suppression list, so set the credentials up. A request that fails verification is answered 401 and recorded nowhere; a delivery the provider sends twice is recorded once. A secret you no longer use (a webhook password you removed at the provider, an SES session token) has a Clear button beside it: leaving its box blank keeps the saved one.
What the providers do on their own
Things the providers do that Outbound does not control, seen while testing against each of them:
- Amazon SES emails every bounce and complaint to the sender's address as well as reporting it to the webhook (SES calls this email feedback forwarding, and it is on by default). Outbound records the event from the webhook either way. To stop the copies in your mailbox, open the identity in the SES console → Notifications → Email Feedback Forwarding and disable it. SES honours that only while bounces and complaints are reported another way, and either way of feeding Outbound's webhook counts: an SNS topic set for bounces and complaints on the identity, or a configuration set with an SNS event destination. A configuration set must be entered on the transport, because SES asks for it on every message and that is where Outbound takes it from.
- Postmark delivers only to addresses at your own From domain until the account is approved. Everything else, its bounce test address included, is refused with a message saying so.
- Mailgun's sandbox domain delivers only to the recipients you authorised, and mail sent from it cannot pass DMARC for your own domain, so receivers flag or refuse it. Use a domain you verified with Mailgun, and enter it as the transport's Sending domain.
- Brevo adds an unsubscribe header of its own to what it sends, so some mail clients show a transactional message as coming from a mailing list. Brevo also refuses requests from an IP address it has not seen until you authorise it (Brevo → Security → Authorised IPs); the error says so.
- Resend sends only from a domain you verified with it. Set that address as the transport's Send as when the site's own From address is at another domain.
- SendGrid rewrites the links in a message into tracking links of its own when click tracking is on for the account, plain-text messages included, so a password reset link arrives as a long
sendgrid.netaddress that SendGrid redirects to yours. To send links as written, turn click tracking off in SendGrid → Settings → Tracking.
Development and staging
Enable the Capture transport and put it first: every message is logged and nothing is delivered. To force that from configuration, add to config.php:
$config['outbound'] = [
'chain' => ['capture'],
];
For a local Mailpit or MailHog, use the SMTP transport with host localhost, port 1025 and encryption "None".
Moving a configuration to another site
Once the transports work on a development site, Settings → Move this configuration to another site carries them over. Export downloads one JSON file with the settings and every transport's fields. The API keys and passwords are in it only in sealed form, encrypted with a passphrase you type (at least 12 characters; AES-256-GCM with a PBKDF2 key), so the file can travel by email or a ticket. The seal also covers the rest of the file: if anything in it is changed after export, the passphrase no longer opens it, and a file whose seal was removed is refused when you type a passphrase for it. Tick Leave the API keys and passwords out for a file you can share as a template; such a file has no seal, the preview says so, and it imports only with the passphrase left empty, so check its preview before you apply it. The stored secrets cannot simply be copied with the database: they are encrypted with each site's own encryption_key.
Import on the other site takes the file and the passphrase and shows what would change, value by value, before anything is written: a value set in that site's config.php is listed as locked and left alone, and a field this version of Outbound does not know, or a value it does not accept (a redaction pattern that does not compile, a retention above 3650 days), is skipped and listed. Confirming writes the rest. A transport whose fields changed then reads "Configured, untested" until a test send succeeds. Webhook tokens are never imported, since the URLs are per site: set the webhooks up with the providers again. The log, the suppression list, the roles that may view bodies and the MSM sharing flag stay where they are.
The same from the command line, for a deploy script:
php system/ee/eecli.php outbound:export --file=outbound.json --passphrase='…' # or OUTBOUND_PASSPHRASE in the environment php system/ee/eecli.php outbound:export --file=outbound.json --no-secrets php system/ee/eecli.php outbound:import --file=outbound.json --dry-run # shows the changes, writes nothing php system/ee/eecli.php outbound:import --file=outbound.json --yes # writes without asking
config.php overrides
Every setting can be set in config.php under $config['outbound']; the control panel shows such values as locked. Secrets can then come from environment variables:
$config['outbound'] = [
'routing_enabled' => 'y',
'chain' => ['postmark', 'smtp'],
'transports' => [
'postmark' => ['token' => getenv('POSTMARK_TOKEN'), 'message_stream' => 'outbound'],
'smtp' => ['host' => 'smtp.example.com', 'port' => 587, 'encryption' => 'tls', 'username' => 'user', 'password' => getenv('SMTP_PASSWORD')],
],
'log_retention_days' => 14,
'log_body_mode' => 'text',
];
Setting keys: routing_enabled, chain, routes (see Routes), on_total_failure (ee or fail), on_uncertain (system, failover or stop), background_sources (a list of sources), failover_on_permanent, log_retention_days, log_body_mode (full, text, none), redact_patterns, suppression_enabled, suppression_exempt_system, body_viewer_roles, share_config, memory_ceiling_mb (the most Outbound raises PHP's memory_limit to for a message with attachments, 512 by default, 0 to never raise it; config.php only). Transport keys are shown beside each field's label on the transport's page (token, message_stream…), plus enabled, timeout, send_as_email and send_as_name.
CLI
php system/ee/eecli.php outbound:test --transport=postmark [email protected] [[email protected]] php system/ee/eecli.php outbound:prune [--days=30] php system/ee/eecli.php outbound:work [--seconds=50] [--limit=200] # the background worker: cron, every minute php system/ee/eecli.php outbound:sync-suppressions [--transport=postmark] [--site=1] # import the providers' suppression lists php system/ee/eecli.php outbound:status php system/ee/eecli.php outbound:export --file=outbound.json [--passphrase=…|--no-secrets] [--site=1] php system/ee/eecli.php outbound:import --file=outbound.json [--passphrase=…] [--dry-run] [--yes] [--site=1]
AI assistants (MCP)
On a site that also runs MCP Server For EE 1.0 or later, Outbound adds its own tools to that add-on's authenticated MCP endpoint, so an AI assistant connected to the site can answer "why did this email not arrive" from the same facts the dashboard and the log show. Nothing is exposed until a Super Admin switches each tool on under Add-ons → MCP Server For EE → Tools → External tools; the tools then follow MCP Server For EE's OAuth scopes and audit log, and the same rules as the control panel: a member sees what their role would see on the Outbound pages (a role needs Outbound among its assigned add-ons, as for the control panel), and the actions the control panel keeps for Super Admins stay that way.
| Tool | Scope | What it does |
|---|---|---|
outbound_status |
read | The dashboard's health report: routing, the chain with each transport's configuration state and last success, webhook state, the last 24 hours, problems in plain English. |
outbound_list_messages |
read | Search the send log by keyword, status, transport, source and date range, without bodies. |
outbound_get_message |
read | One message with its attempts (and the error hint), its delivery events and the original it was resent from. The body only for roles allowed to view bodies: the text part, with the HTML part when asked for, each cut to a fixed length. The provider's raw responses only when asked for, and webhook payloads only for roles allowed to view bodies, cut to 4000 characters each. |
outbound_list_suppressions |
read | The suppression list, searchable. |
outbound_check_domain |
read | The SPF, DMARC, DKIM and MX check for a domain, against a provider's expected records when a transport is named. |
outbound_add_suppression |
write | Add an address to the suppression list (reason: manual). Super Admins. |
outbound_remove_suppression |
write | Remove an address from the suppression list. Super Admins. |
outbound_send_test |
admin | The test message through one transport, logged like any send. Super Admins. |
outbound_resend_message |
admin | Resend a logged message, to its recipients or to one other address. Super Admins. |
Configuration is read-only through the tools and not changed by them: the chain, the transports and their keys are set in the control panel. Nothing appears on MCP Server For EE's anonymous Public MCP endpoint.
Permissions
Who can open Outbound at all is governed by ExpressionEngine's per-role add-on access (the role needs add-on access and Outbound among its assigned add-ons). Within the add-on, everyone sees the dashboard, the log and the suppression list; only the roles chosen under Settings → Access see stored message bodies, and system email bodies (password resets, activation, login) only Super Admins; transports, settings, resending and editing the suppression list are for Super Admins. The MCP tools apply the same rules.
Message bodies can hold anything your site sends, so choose the body-viewer roles with care, and consider Settings → Send log → Store bodies "Text only" or "None" plus redaction patterns (one regex per line, such as a coupon-code or order-number format) on a site that emails personal data.
Multiple sites
Under MSM every site has its own transports, settings, log and suppression list. Site 1 can share its transports and settings with every site (Settings → Multiple sites); logs stay per site.
Troubleshooting
- "Handed to EE" in the log — every transport failed, or Outbound stepped aside before trying one (attachments that need more memory than it could get, an attachment file that can no longer be read). Open the message: its note says which, and each attempt has its error and a plain-English hint.
- A transport shows "Not configured" — open it; the reason is listed at the top of its page.
- Emoji show as a replacement character in the log — the site's database is not utf8mb4, so the log cannot store 4-byte characters; the dashboard says so. The emails themselves are sent unchanged. Converting the database to utf8mb4 (and setting that charset in
config.php) removes the limit. - "Sent" in the log, but the mail shows a spoofing warning, lands in junk or never arrives — the provider accepted it, and the receiving side did not trust it. Run the transport's Domain check: the provider is probably not signing for your From domain.
- Amazon sends an email for every bounce and complaint — that is SES's own feedback forwarding, not Outbound; see What the providers do on their own.
- Webhook shows "nothing received yet" — send a test and check the provider's webhook log; the URL must be reachable from the internet and answer 200. Visiting it in a browser answers "ready".
- Secrets cannot be read after a server move — they are encrypted with the site's
encryption_key; if it changed, enter the keys again. - An email with a large attachment was "Handed to EE" — sending it through a provider needs about eight times the attachments' size in memory, and Outbound could not get it; the entry's note gives the numbers. Raise
memory_ceiling_mbinconfig.php(512 by default), raise PHP'smemory_limititself where the host does not let a script do so, or send smaller files. - A form email arrived without the file the visitor attached — the upload failed before ExpressionEngine had the file, most often because it was larger than PHP's
upload_max_filesize. The message's entry in the send log lists the file as not sent. Raiseupload_max_filesize(andpost_max_size), or state the limit on the form. - A form with a large upload ends in a blank page or a 500, and nothing is in the log — ExpressionEngine builds the whole message, attachments encoded, before Outbound is handed it, and PHP ran out of memory there. Raise PHP's
memory_limit: Outbound cannot, since it has not been called yet. - "Encryption is None but a username is set" — the SMTP transport will not send a password unencrypted to another machine; choose TLS or SSL.
- An imported file says "the file was changed after it was exported" — it was edited, or damaged in transit; export it again.
Security notes
- API keys, SMTP passwords and webhook signing secrets are encrypted with ExpressionEngine's own Encrypt service (keyed from the site's
encryption_key) and shown masked (a secret of 16 characters or more to its last four, a shorter one such as a password not at all). They never appear in a log entry, a stored provider response or a page. - Each webhook URL carries a secret token, compared in constant time before anything else is read; the provider's own signature is then verified where the provider signs (see Webhooks), with a five-minute window and a replay guard.
- Transports, settings, resending and editing the suppression list are for Super Admins; stored message bodies are shown only to the roles chosen under Settings → Access, and system email bodies only to Super Admins (see Permissions).
- Every name, subject, address and header value is made single-line before it reaches a provider, so a contact form's Name or Subject field cannot add headers or recipients.
- Provider requests are HTTPS with certificate verification and no redirects; SMTP verifies the server's certificate and refuses to fall back to plain text when STARTTLS is not offered.
- Exported configuration files carry secrets only under a passphrase, and refuse to open once changed (see Moving a configuration).
Support
Open the message in the send log, note each attempt's error and the hint beside it, and send them to [email protected].
Disclaimer
Postmark, Resend, Mailgun, SendGrid, Amazon SES and Brevo are trademarks of their respective owners. Outbound is an independent product by Multimediality and is not affiliated with or endorsed by any of them.
Changelog
- 1.0.4 A form message with an empty file field or a failed upload keeps its body when every transport fails and ExpressionEngine's own mailer sends it: Outbound rebuilds the message without the file ExpressionEngine could not read before it does anything else.
- 1.0.3 A message handed to ExpressionEngine's mailer before any transport was tried no longer reaches addresses on the suppression list. A form message whose upload failed is sent through the chain without the file, where it used to arrive with no body; the log lists the file as not sent. On PHP 8.4, a small attachment can no longer run a request that is short of memory out of it. The release zip stores its files with mode 644.
- 1.0.2 A transport can be reset: its saved settings and keys are removed, it is turned off and it leaves every route. A form that allows an attachment, sent without one, goes through the chain: Outbound ignores the empty file field ExpressionEngine attaches, where it used to hand the message to ExpressionEngine's mailer, which sends it without its body. A message with no body from an add-on's own Email instance is no longer read from the wrong instance. On PHP 8.4, logging a message handed to ExpressionEngine's mailer no longer risks running out of memory when very little is left. The details table on a message's page in the send log has room on its left, and an attachment of no known type no longer shows a stray comma.
- 1.0.1 A message with large attachments is sent through the chain where it used to go to ExpressionEngine's mailer: Outbound raises PHP's
memory_limitfor that request, up tomemory_ceiling_mb. A message Outbound does leave to ExpressionEngine's mailer is logged as Handed to EE with the reason, where it left no trace before. - 1.0.0 The first public release: routes, background sending, suppression import, uncertain timeouts and webhook URL rotation; failover on a refused account; BCC batches sent once each; suppression only for events that name the dead address; multibyte text kept whole through ExpressionEngine's word wrap; control panel password resets and contact forms named as what they are; Amazon SES keeps the From name; ExpressionEngine 7.5 or later.
- 0.2.0 Everything the 0.1.0 review found, verified end to end against all seven providers and six webhooks on a live site; configuration export and import with sealed secrets; per-transport Send as and a From on the test send; Brevo webhook authentication; MCP tools for MCP Server For EE; a Transports page that reorders in the page and says "Configured, untested" until a send proves a configuration; accessible badge colours and a narrow-screen pass.
- 0.1.0 Initial build: six API transports, SMTP and Capture, failover chain, send log with resend, webhooks with signature verification, suppression list, domain check, error hints, config.php overrides, CLI commands, MSM sharing.
The full changelog is at multimediality.com/add-ons/outbound/changelog.
License
Outbound is commercial software. One license covers a single production site plus one related staging or development site; each additional production site needs its own license. The full terms are on the license page.