yukoff / magento2-sendgrid-smtp
配置 Magento 2 使用 SendGrid SMTP 服务器发送邮件
0.2.1
2016-08-10 04:22 UTC
Requires
- php: ~5.5.0|~5.6.0|~7.0.0
- magento/framework: 100.0.*
- magento/module-backend: 100.0.*
This package is not auto-updated.
Last update: 2024-09-14 19:20:12 UTC
README
配置 Magento 使用 SendGrid 的 SMTP 服务器发送所有交易性邮件。
注意: 您需要一个有效的 SendGrid 账户。
1. 安装 SendGrid SMTP 插件
使用 Composer
composer require yukoff/magento2-sendgrid-smtp
使用源代码
composer config repositories.yukoff-sendgridsmtp git git@github.com:yukoff/magento2-sendgrid-smtp.git
composer require yukoff/magento2-sendgrid-smtp
手动安装
安装 Magento2 的 SendGrid SMTP 插件
- 下载扩展
- 解压文件
- 创建文件夹 {MAGENTO_ROOT}/app/code/SendGrid/SendGridSmtp
- 复制解压文件夹中的内容
2. 启用 SendGrid SMTP 插件
php -f bin/magento module:enable --clear-static-content SendGrid_SendGridSmtp
php -f bin/magento setup:upgrade
3. 配置 SendGrid SMTP 插件
登录到您的 Magento2 后台,然后转到 商店 -> 系统 -> SendGrid SMTP
并输入您的电子邮件凭证、SendGrid 类别(如果使用)等。