Skip to content

bluee/EmailReplyParser

 
 

Repository files navigation

Email Reply Parser

Build status NuGet version

This is a simple library that can parse plain text email message text into fragments and separate the reply text from the rest of the email thread. Please note that HTML content is not supported. Converted the HTML content into plain text before using this library.

This is a fork of EricJWHuang/EmailReplyParser which in turn is a .NET port of the original Ruby library created by GitHub.

How to use it

  • Install the package from NuGet
  • Parse the original reply using
var parser = new EmailReplyParser.Lib.Parser();
var reply = parser.ParseReply("I get proper rendering as well.\r\n\r\nSent from a magnificent torch of pixels\r\n\r\nOn Dec 16, 2011, at 12:47 PM, Corey Donohoe\r\n<[email protected]>\r\nwrote:\r\n\r\n> Was this caching related or fixed already?  I get proper rendering here.\r\n>\r\n> ![](https://img.skitch.com/20111216-m9munqjsy112yqap5cjee5wr6c.jpg)\r\n>\r\n> ---\r\n> Reply to this email directly or view it on GitHub:\r\n> https://github.com/github/github/issues/2278#issuecomment-3182418");

About

A .NET clone of github email_reply_parser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%