A C# library that moves CSS stylesheets to inline style attributes for maximum email client compatibility.
PreMailer.Net is a C# library that converts CSS styles in HTML email templates into inline style attributes. It solves the problem of inconsistent CSS support across email clients by ensuring styles are applied directly to HTML elements, improving rendering reliability.
C# developers building email marketing systems, transactional email services, or any application that generates HTML emails requiring consistent cross-client compatibility.
Developers choose PreMailer.Net for its robust handling of email-specific CSS quirks, built-in analytics tagging, and flexible options like media query preservation, all within a familiar .NET ecosystem.
C# library that moves your stylesheets to inline style attributes, for maximum compatibility with E-mail clients.
Converts both external and internal CSS to inline styles, ensuring maximum email client compatibility as described in the README, which is critical for reliable rendering across clients like Outlook and Gmail.
Allows selective preservation of media queries for responsive emails via the ignoreElements or preserveMediaQueries options, enabling mobile-friendly designs without inlining all styles.
Includes AddAnalyticsTags method to automatically append UTM parameters to links, simplifying campaign tracking for marketing emails without manual URL editing.
Provides Document property for custom HTML manipulation using AngleSharp before inlining, useful for advanced scenarios like preprocessing or conditional styling.
Relies on third-party libraries like AngleSharp for HTML parsing, which can introduce compatibility issues or breaking changes with updates, as noted in the dependency handling.
Processing involves downloading external CSS and DOM manipulation, which may add latency for large or complex templates, especially in high-volume email generation systems.
Unsupported pseudo-classes and elements are ignored and logged as warnings, requiring manual checks to avoid styling gaps, as admitted in the README's notes section.
A cross-platform .NET library for IMAP, POP3, and SMTP.
Papercut SMTP -- The Simple Desktop Email Server
A .NET MIME creation and parser library with support for S/MIME, PGP, DKIM, TNEF and Unix mbox spools.
A SMTP Server component written in C#
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.