/// <summary> /// Appends a downloaded external text file to our MhtBuilder using Quoted-Printable encoding /// </summary> void AppendMhtTextFile(MhtWebFile ef) { AppendMhtBoundary(); AppendMhtLine("Content-Type: " + ef.ContentType + ";"); AppendMhtLine(Convert.ToChar(9).ToString() + @"charset="" + ef.TextEncoding.WebName + @"""); AppendMhtLine("Content-Transfer-Encoding: quoted-printable"); AppendMhtLine("Content-Location: " + ef.Url); AppendMhtLine(); AppendMhtLine(QuotedPrintableEncode(ef.ToString(), ef.TextEncoding)); }