robuust / craft-mailjet
Craft CMS 的 Mailjet 集成
2.0.1
2024-03-27 07:46 UTC
Requires
- php: ^8.2.0
- craftcms/cms: ^5.0
- symfony/mailjet-mailer: ^7.0
Requires (Dev)
- craftcms/ecs: dev-main
- craftcms/phpstan: dev-main
- craftcms/rector: dev-main
This package is auto-updated.
Last update: 2024-09-27 09:02:08 UTC
README
Mailjet for Craft CMS
本插件为 Mailjet 提供了 Craft CMS 的集成。
要求
此插件需要 Craft CMS 5.0 或更高版本。
您可以从插件商店或使用 Composer 安装此插件。
从插件商店安装
进入项目控制面板中的插件商店,搜索“Mailjet”。然后在模态窗口中点击“安装”按钮。
使用 Composer
打开您的终端,并运行以下命令
# go to the project directory cd /path/to/my-project.test # tell Composer to load the plugin composer require robuust/craft-mailjet # tell Craft to install the plugin ./craft install/plugin mailjet-adapter
设置
安装 Mailjet 后,转到设置 → 邮件,并将“传输类型”设置更改为“Mailjet”。输入您的 Mailjet API 密钥和 API 密钥,然后点击保存。
提示:API 密钥和 API 密钥设置可以设置为环境变量。有关详细信息,请参阅 Craft 文档中的 环境配置。