Skip to content

C# .Net library, that moves your stylesheets to inline style attributes, for maximum compatibility with E-mail clients.

License

Notifications You must be signed in to change notification settings

codesmithtools/PreMailer.Net

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PreMailer.Net Build Status

C# Library for moving CSS to inline style attributes, to gain maximum E-mail client compatibility.

Usage

string htmlSource = File.ReadAllText(@"C:\Workspace\testmail.html");

PreMailer pm = new PreMailer();

string premailedOutput = pm.MoveCssInline(htmlSource, false);

Installation

NuGet: PreMailer.Net

Credits

License

PreMailer.Net is available under the MIT license. See the LICENSE file for more info.

About

C# .Net library, that moves your stylesheets to inline style attributes, for maximum compatibility with E-mail clients.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%