silverstripe-australia/silverstripe-sesmail 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

silverstripe-australia/silverstripe-sesmail

最新稳定版本:4.0.0

Composer 安装命令:

composer require silverstripe-australia/silverstripe-sesmail

包简介

Custom Mailer type that sends mail via Amazon's SES

README 文档

README

After installing the module, add configuration similar to the following to enable the mailer

---
Name: AWSConfig
---
SilverStripe\Core\Injector\Injector:
  SilverStripe\Control\Email\Mailer:
    class: Symbiote\SilverStripeSESMailer\Mail\SESMailer
    constructor:
      config:
        credentials:
          key: YourKey
          secret: YourSecret
        region: us-west-2
        version: '2010-12-01'
        signature_version: 'v4'

If your SES account is configured with a single 'from' address having being verified, you can set an 'always from' email address which will always be the 'From:' header, with the 'reply-to:' header set based on the calling code's 'From' variable. Just add

SilverStripe\Core\Injector\Injector:
  SilverStripe\Control\Email\Mailer:
    properties:
      alwaysFrom: my@address.com

Emails will be sent through the QueuedJobs module if it is installed. You can set the following configuration to bypass this behaviour even if QueuedJobs is installed:

SilverStripe\Core\Injector\Injector:
  SilverStripe\Control\Email\Mailer:
    calls:
      - [ setUseQueuedJobs, [ false ] ]

统计信息

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

GitHub 信息

  • Stars: 6
  • Watchers: 7
  • Forks: 13
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-04-01