Пример #1
0
        public static string DecodeContent(
            this SMTPImpostorMessage message)
        {
            var encoding = message.GetEncodingOrUTF8();

            return(SMTPImpostorDecoder.FromQuotedPrintable(message.Content, encoding));
        }
Пример #2
0
        public void can_decode_multipart_quoted_word()
        {
            var result = SMTPImpostorDecoder.FromQuotedWord(MULTIPART_QUOTED_WORD_ENCODED);

            Assert.AreEqual(LONG_STRING, result);
        }