studioespresso/craft-mailersend

Craft CMS 的 MailerSend 适配器

资助包维护!
janhenckens

安装: 9

依赖者: 0

建议者: 0

安全: 0

星标: 1

关注者: 3

分支: 1

开放问题: 1

类型:craft-plugin

5.0.0 2024-02-09 19:30 UTC

This package is auto-updated.

Last update: 2024-09-09 20:44:57 UTC


README

Postmark icon

MailerSend for Craft CMS

本插件为 MailerSend 提供了与 Craft CMS 的集成。

要求

本插件需要 Craft CMS 4.0 或更高版本。

安装

您可以从插件商店或使用 Composer 安装此插件。

从插件商店

转到项目控制面板中的插件商店,搜索“MailerSend”,然后在模态窗口中点击“安装”按钮。

使用 Composer

打开终端并运行以下命令

# go to the project directory
cd /path/to/my-project.test

# tell Composer to load the plugin
composer require studioespresso/craft-mailersend

# tell Craft to install the plugin
./craft plugin/install mailersend

设置

安装 MailerSend 后

  1. 转到 设置电子邮件
  2. 传输类型 设置更改为 MailerSend。同时,确保您的 Craft 电子邮件设置中的系统电子邮件地址与 MailerSend 中确认的 发件人签名电子邮件地址 匹配。
  3. 输入您的 服务器令牌(您可以从 集成 页面下的“API 令牌”中获取)。
  4. 点击 保存

提示:可以使用环境变量设置服务器令牌设置。有关更多信息,请参阅 Craft 文档中的 环境配置