innoweb/silverstripe-symfony-mailer-emogrifier
最新稳定版本:2.0.0
Composer 安装命令:
composer require innoweb/silverstripe-symfony-mailer-emogrifier
包简介
Easily integrate Emogrifier into SilverStripe and send Emails with inlined CSS automatically.
README 文档
README
Overview
Easily integrate Emogrifier into Silverstripe and send Emails with inlined CSS automatically.
This is based on bummzack/silverstripe-emogrify, integrating Emogrifier with Symfony Mailer.
Requirements
- Silverstripe Framework ^6
- Emogrifier ^8
Installation
Install the module using composer:
composer require innoweb/silverstripe-symfony-mailer-emogrifier dev-master
Then run dev/build.
Configuration
By default, the plugin will inline CSS that is part of the HTML, eg. styles defined in <style> tags.
You can also supply a global css file via config:
Innoweb\SymfonyMailerEmogrifier\Extensions\MailerSubscriberExtension: css_file: 'public/_resources/themes/yourtheme/css/email.css'
Please note that if the path to the CSS file is not absolute, it will be considered to be relative to the BASE_PATH!
License
BSD 3-Clause License, see License
统计信息
- 总下载量: 3.16k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2023-05-16