dnadesign/silverstripe-subsites-default-emails 问题修复 & 功能扩展

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

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

dnadesign/silverstripe-subsites-default-emails

最新稳定版本:2.0.1

Composer 安装命令:

composer require dnadesign/silverstripe-subsites-default-emails

包简介

Allows the default 'from' email to be set on a per subsite basis

README 文档

README

This module adds a DefaultFromEmail field to the Subsite DataObject which can be used to set the default "From" address for emails sent from each subsite.

The main site will still use the config value that has been set in you application config:

SilverStripe\Control\Email\Email: admin_email: no-reply@mysite.nz

If a subsite does not have a value set for DefaultFromEmail then the value of 'admin_email' will be used.

Note: this functionality does not affect any emails that have explicitly set the from address when sending an email, only emails that do not have any from address set.

Limititations

This functionality will not work via the command line or anywhere that Subsite::currentSubsite() returns null.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2022-11-04