예제 #1
0
        private Message GetPop3MessageAfterParseError(Pop3Client client, int message_index)
        {
            var header = client.RetrieveHeaderObject(message_index);

            var eml_message_string = client.RetrieveMessageString(message_index);

            var message = new Message(header);

            message.AddAttachmentFromString("original_message.eml", eml_message_string);

            return message;
        }