Emogrifier is an open source library. I was an original contributor and the co-founder of the company that open sourced it, however, I am no longer directly involved.

Emogrifier
Original author(s)
Developer(s)Community contributors
Stable release
7.2.0 / 6 December 2023; 11 months ago (2023-12-06)[1]
Repositorygithub.com/MyIntervals/emogrifier
Written inPHP
Operating systemLinux, macOS, Windows
LicenseMIT license

Emogrifier is a PHP software library for computer systems running Linux, macOS, Windows that converts CSS style into inline style attributes in HTML code to ensure proper display on email clients that lack stylesheet support.

Emogrifier was developed to deal with the lack of CSS support and other problems posed by email clients when it comes to the way they handle styling contained in HTML emails.

It assists software developers sending emails from a SaaS platform, with the final goal being email messages that display properly in any email client.

Software

edit

The primary problem with uncooperative email clients is that they tend to only regard inline CSS, discarding all <style> elements and links to stylesheets in <link> elements. Emogrifier solves this problem by converting CSS styles into inline style attributes in the HTML code. It does this by by parsing CSS and inserting CSS definitions into tags within the HTML based on the CSS selectors.[2]

The tool was created as part of the Intervals software platform to help with the delivery of email notifications.

Today, the Emogrifier software utility has over 30 million installs[3] and is integrated into several PHP frameworks:

See also

edit

References

edit
  1. ^ "Releases - MyIntervals/emogrifier". Retrieved 9 September 2024 – via GitHub.
  2. ^ "emogrifier/README.md at main · MyIntervals/emogrifier · GitHub". O. Klee, GitHub. 2024-09-05. Retrieved 2024-09-09.
  3. ^ "emogrifier: Emogrifier Package Installs". packagist.org. 9 September 2024. Retrieved 9 September 2024.
edit