leuchtfeuer / mautic-mailjetadapter-bundle
插件允许通过API批量发送邮件,并使用回调处理用于弹跳管理。
1.0.2
2024-08-29 14:30 UTC
Requires
- php: >=8.0.0
- mautic/core-lib: ^5.0
Requires (Dev)
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2024-08-29 14:31:59 UTC
README
本文件内容
- 介绍
- 安装
- 配置
- 作者
介绍
此插件使Mautic 5能够将Mailjet作为邮件传输使用。
安装
- 使用以下命令获取插件:
composer require leuchtfeuer/mautic-mailjetadapter-bundle
- 使用以下命令安装:
php bin\console mautic:plugins:reload
。 - 插件将在插件页面上列出。
配置
Mautic
此插件提供两种传输方式:
- SMTP中继:使用SMTP中继的最佳和最快方式是拥有自己的本地邮件服务器,将消息中继到Mailjet SMTP。
- 电子邮件API:Mailjet API是围绕REST组织的。更多信息请访问 Send API v3.1。
按照以下步骤设置Mailjet DSN:
- 转到配置 (/s/config/edit>)
- 滚动到电子邮件设置
- 更新以下字段,其余默认或为空:
<apiKey>
和 <secretKey>
将用于认证目的。请访问 Mailjet指南
Mailjet
- 创建一个 Mailjet账户
- 然后 检索您的API和密钥。它们将用于认证目的。
- 从账户偏好设置中设置webhook以进行事件跟踪,在事件跟踪部分。webhook URL应该是
https://<your-domain.tld>/mailer/callback
。
作者
👤 Rahul Shinde
- Twitter: @_rahulshinde
- GitHub: @shinde-rahul