Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 958 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 958 Bytes

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.