transactional-email-templates

Responsive transactional HTML email templates

  • 所有者: mailgun/transactional-email-templates
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Responsive transactional HTML email templates

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.

概览

名称与所有者mailgun/transactional-email-templates
主编程语言HTML
编程语言HTML (语言数: 1)
平台
许可证MIT License
发布数0
创建于2014-08-07 12:44:28
推送于2022-02-03 15:51:44
最后一次提交2022-02-03 09:51:43
星数6.8k
关注者数241
派生数1.2k
提交数49
已启用问题?
问题数23
打开的问题数10
拉请求数6
打开的拉请求数2
关闭的拉请求数4
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?
去到顶部