gcdtech/rhubarb-module-amazon-ses-email-provider
Composer 安装命令:
composer require gcdtech/rhubarb-module-amazon-ses-email-provider
包简介
README 文档
README
Quick Start
Below is an example configuration of this email provider
// Generic AwsSettings
$aws = AwsSettings::singleton();
$aws->region = 'eu-west-1';
$aws->profile = 'default';
// Set credentials
// Using credentials.ini
$aws->iniCredentialsFile = '/path/to/credentials.ini';
// OR using access key and secret
$aws->credentialsAccessKeyId = 'abc123';
$aws->credentialsSecretAccessKey = 'abc123';
// OR Do not specify either of the above to use IAM role permission of the EC2 instance this code will run on
// Configure all the domains to send from with their matching ARN's from SES console
AmazonSesSettings::singleton()->arnMappings = [
'<domain>' => 'arn:aws:ses:<region>:<account id>:identity/<domain>'
];
// Finally, set the provider
EmailProvider::setProviderClassName(AmazonSesEmailProvider::class);
Bounce Handling
If you have deployed the SES Handler tool to lambda, you can specify a lambda name like so.
AmazonSesSettings::singleton()->verificationLambdaName = '<verification lambda name>';
This will do out of the box bounce handling for email addresses and ensure emails that have produced a bounce in the past do not get re-sent to. This tool grew out of an issue where an SES account was disabled due to a bounce rate which was too high. This tool also tracks bounce rate and will disable sending from a particular domain if the bounce rate exceeds a safe limit, this is to ensure Amazon do not disable the SES account as this can take some time to re-enable.
gcdtech/rhubarb-module-amazon-ses-email-provider 适用场景与选型建议
gcdtech/rhubarb-module-amazon-ses-email-provider 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 58.12k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2017 年 02 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 gcdtech/rhubarb-module-amazon-ses-email-provider 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 gcdtech/rhubarb-module-amazon-ses-email-provider 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 58.12k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 19
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2017-02-03