sddproductions/sdd-sparkpost-transport-bundle
Composer 安装命令:
composer require sddproductions/sdd-sparkpost-transport-bundle
包简介
SDDProductions/SDDSparkPostTransportBundle Bundle
README 文档
README
This bundle is an integration between DigitalState/Platform-Transport-Bundle and SparkPost/php-sparkpost
Configuration
The ususal composer require !
Transport and Profile configuration
Transport
You need to add a new Transport with the following data:
{
"api_key":"YOUR_SPARKPOST_API_KEY",
"allowed_sender_domains":
[
"example.com",
"other.example.com"
]
}
The api_key is self explanatory.
The allowed_sender_domains is the list of domains that are currently allowed and configured in SparkPost.
Profile
You need to add a new profile with the following data:
The Field send_from is used to configured the emails will that is used to send emails through the Transport
Possible values :
- Send from specific email:
{
"send_from": {
"fullName" : "John Doe",
"email" : "john.doe@example.com"
}
}
- WIP:
CURRENT_USERThefromaddress will be the email address of the current connected user (The user pressing the SEND Button)
{
"send_from":"CURRENT_USER"
}
- WIP:
ENTITY_OWNERThefromaddress will be the email address of the user that is the Owner of the recipient
{
"send_from":"ENTITY_OWNER"
}
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-01-04