public static string DecodeContent( this SMTPImpostorMessage message) { var encoding = message.GetEncodingOrUTF8(); return(SMTPImpostorDecoder.FromQuotedPrintable(message.Content, encoding)); }
public void can_decode_multipart_quoted_word() { var result = SMTPImpostorDecoder.FromQuotedWord(MULTIPART_QUOTED_WORD_ENCODED); Assert.AreEqual(LONG_STRING, result); }