Extending BooleanSMTP
The two contracts BooleanSMTP's transport and notification-channel systems are built on, and which one you can actually register from outside the plugin today.
BooleanSMTP’s mail transports and notification channels are both built behind a small interface, so the built-in ones (SendGrid, Amazon SES, Custom SMTP, … and Slack, Discord, Telegram) are just three implementations of the same contract as anything you’d write yourself.
| Contract | What it’s for | Can you register your own? |
|---|---|---|
TransportContract | A mail provider or delivery method. | Yes — the boolean_smtp_transports filter. |
NotificationChannelContract | A destination for delivery-failure alerts. | Not yet from outside the plugin — see that page. |
Next steps
Section titled “Next steps”- Custom transport
- Alert channel
- Hooks — everything either contract’s implementations can hook into once they’re wired up.