定制 gcdtech/rhubarb-module-amazon-ses-email-provider 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

gcdtech/rhubarb-module-amazon-ses-email-provider

最新稳定版本:1.1.1

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.

统计信息

  • 总下载量: 57.9k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2017-02-03