bight / packetboat
此包已被放弃,不再维护。未建议替代包。
WordPress 事务性电子邮件的无服务车辆。
1.0.1
2016-12-22 22:01 UTC
Requires
- php: >=5.6
- composer/installers: ~1.0
- wildbit/postmark-php: ^2.2
Requires (Dev)
- phpunit/phpunit: ^5.7
- squizlabs/php_codesniffer: ^2.7
This package is auto-updated.
Last update: 2020-09-09 13:05:21 UTC
README
WordPress 事务性电子邮件的无服务车辆。
要求
- PHP >= 5.6
- WordPress >= 4.7
以下服务之一
安装
如果您使用 Bedrock
composer require bight/packetboat
如果您不使用
git clone --depth=1 https://github.com/bight/packetboat.git wp-content/plugins/packetboat
cd /wp-content/plugins/packetboat
rm -rf .git
composer install --no-dev
配置
激活插件(如果您在WordPress多站点上,请网络激活)。然后完成特定服务的配置程序。
Postmark
将以下行添加到 wp-config.php
// Postmark server API token, see: http://developer.postmarkapp.com/developer-api-overview.html#authentication
define('POSTMARK_SERVER_TOKEN', 'your-postmark-server-token');
// Postmark verified sender signature, see: https://account.postmarkapp.com/signatures
define('POSTMARK_SENDER_SIGNATURE', 'foo@bar.com');
Mailgun
待定。
Sendgrid
待定。