定制 gregoryeple/mail-plugin 二次开发

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

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

gregoryeple/mail-plugin

最新稳定版本:2.0.1

Composer 安装命令:

composer require gregoryeple/mail-plugin

包简介

Configure how your emails are sent by Sylius.

README 文档

README

Total Downloads

Configure how your emails are sent by Sylius.

Installation-procedure

$ composer require gregoryeple/mail-plugin

Enable the plugin

// in app/AppKernel.php
public function registerBundles() {
	$bundles = array(
		// ...
		new BeHappy\SyliusMailPlugin\BeHappySyliusMailPlugin(),
	);
	// ...
}
#in app/config/config.yml
imports:
    ...
    - { resource: "@BeHappySyliusMailPlugin/Resources/config/app/config.yml" }
# in routing.yml
...

behappy_mail_plugin:
    resource: '@BeHappySyliusMailPlugin/Resources/config/routing.yml'
...

Generate database

Simply launch

php bin/console doctrine:schema:update --dump-sql --force

That's it !

In the BackOffice, you have now a new entry under the configuration menu where you can create your mail configuration. You can register one configuration by channel.

You can define the user sending address, their name and a reply-to.

DKIM Signature is also fully supported by setting the domain, the selector and the private key content.

Once your configuration is created, you can send a test email to any address and check the result. (don't forget do enable delivery in dev by modifying config_dev.yml)

Repository history

This repository has been initialy created to make BeHappyCommunication/SyliusMailPlugin compatible with PHP 8.

Works on Sylius 1.13. (other versions have not been tested)

Credits

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-10-11