MimeType == "text/html"
//div[@class='gmail_signature']
var nodes = htmlDoc.DocumentNode.SelectNodes("//div[@class='gmail_signature']").ToList(); if (nodes.Count > 0) { foreach (var item in nodes) { item.Remove(); } } var result = htmlDoc.DocumentNode.InnerText.Replace(System.Environment.NewLine, string.Empty); result = System.Web.HttpUtility.HtmlDecode(result);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)