Conversation
|
Thanks for the PR. I’ll need at least a description before I can take this seriously. |
Absolutely, I will add a description ASAP. |
|
@bencroker, I've added a PR description. |
|
@bencroker, is this something you would consider merging? Thanks! 🙂 |
|
@thasmo I had a close look at your PR in detail, which is well put together, and reviewed Lettermint’s website, which appears credible. That said, the mailer adapter you mentioned currently shows only three active installs. Given such low usage, prioritising webhook support for it over of any number of other delivery services, doesn’t seem warranted at this time. You can of course use the logic in your PR to achieve the same result using a custom module/plugin, which is what I typically suggest people using unsupported webhooks do. |
This PR adds a webhook integration for Lettermint, a transactional email provider. A mailer adapter for Craft CMS is already available in the plugin store.
/actions/campaign/webhook/lettermintthat handles Lettermint eventslettermintWebhookSigningSecretsetting for the signing secret (supports environment variables)The webhook listens for these events:
webhook.testmessage.hard_bouncedmessage.spam_complaintSignature validation is optional (controlled by the existing
validateWebhookRequestssetting) and uses the same security approach as the other webhook integrations.