problem with fetch messages on imapclient
client.FetchMessage does not return (do not know) the encoding of the original message.
foreach (ImapMessageInfo msgInfo in msgCollection)
// create object of type MailMessage
if (msgInfo.UniqueId == idmsg) { MailMessage msg = new MailMessage();
// retrieve the message in MimeMessage format directly
msg = _client.FetchMessage(idmsg);
string encoding =msg.BodyEncoding // which is equal to null
}
Please resolve problem !!
Regards,