承接 jonom/silverstripe-postmark-mailer 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

jonom/silverstripe-postmark-mailer

最新稳定版本:v2.0.0

Composer 安装命令:

composer require jonom/silverstripe-postmark-mailer

包简介

Postmark mailer class for SilverStripe

README 文档

README

This module is for SilverStripe v3 only. SilverStripe 4 supports many email services through configuration only by providing a wrapper for SwiftMailer. Postmark takes some extra work to set up though, because SS4 uses SwiftMailer v5, and the official Postmark adapter for that version is incomplete. Here are a couple of different approaches for working around the issue:

SilverStripe Postmark Mailer

This module lets you send SilverStripe emails through the official Postmark PHP library, falling back to PHP's built-in sendmail() if Postmark is unreachable.

Requirements

Note: an alternative Postmark Mailer class that works with older versions of SilverStripe and PHP is available here.

Installation

Install with Composer. Learn how

composer require "jonom/silverstripe-postmark-mailer:^1.0"

Documentation

You will need to provide a PostmarkAPP API key and at least one verified email address (Sender Signature) that you have set up in your Postmark account. If you try to send an email from a non-verified address, the From address will be changed to the first verified address you provided and a Reply-To field will be set with the original From address.

Example configuration

In your project's _config.php file:

Email::set_mailer(new PostmarkMailer());

or:

// Send email through Postmark in live environment only
if (Director::isLive()) {
	Email::set_mailer(new PostmarkMailer());
}

In your project's _config/config.yml file:

PostmarkMailer:
  api_key: 'your-key-goes-here'
  sender_signatures:
    - 'example@yourwebsite.com'
    - 'example2@yourwebsite.com'

Maintainer contact

Jono Menz

Sponsorship

If you want to boost morale of the maintainer you're welcome to make a small monthly donation through GitHub, or a one time donation through PayPal. ❤️ Thank you!

Please also feel free to get in touch if you want to hire the maintainer to develop a new feature, or discuss another opportunity.

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-11-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固