定制 emielmolenaar/transactional-email-templates 二次开发

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

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

emielmolenaar/transactional-email-templates

最新稳定版本:1.1

Composer 安装命令:

composer require emielmolenaar/transactional-email-templates

包简介

Responsive transactional HTML email templates, from Mailgun.

README 文档

README

Transactional HTML emails often get neglected. Styling HTML email is painful. Tables, inline CSS, unsupported CSS, desktop clients, web clients, mobile clients, various devices, various providers.

We’ve tried to remove some of the pain for you and open-sourced a collection of common templates for transactional email.

Each template is responsive and each has been tested in all the popular email clients.

How to use

  • Use these email templates for your transactional emails
  • Use them as is or think of them as boilerplates for more detailed emails
  • Ensure you inline the CSS before sending the email out

What are transactional emails?

Typically any email that is triggered by or sent automatically from your application.

  • Welcome emails
  • Actionable emails
  • Password resets
  • Receipts
  • Monthly invoices
  • Support requests
  • App error alerts
  • Reminders
  • etc.

Inline the CSS

Before sending HTML emails you should inline your CSS.

We recommend using Premailer to accomplish this.

Our repo contains both the original templates with a separate CSS stylesheet, as well as templates with CSS already inlined for you to preview. See the /templates/inlined folder.

Tested and verified

We’ve tested these email templates across all the major desktop, web and mobile clients, using Litmus. See the test results.

Email design workflow with Grunt

You also might be interested in this Grunt task for compiling and testing html emails. We used this to help design and test our transactional emails.

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 1130
  • 开发语言: HTML

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-05-17