Hi,
i'm using Rebex.Mail 1.0.4086.0
I've a Mail Message saved on disk ".msg" i use the method load in order to load it but in some cases it throw an excption
MailMessage mess = new MailMessage();
mess.Load(nome);
Below here the stacktrace
04/04/2012 19:46:27 - [E] - File : Rebex.Mail Message : Media type is not valid.
Parameter name: mediaType StackTrace : at Rebex.Mime.Headers.ContentType..ctor(String mediaType)
at Rebex.Mime.MimeEntity.kQsAhZ(Stream , String , String , ContentTransferEncoding )
at Rebex.Mail.Attachment.SetContent(Stream source, String name, String mediaType)
at Rebex.Mail.MailMessage.BGeBkwZ(AwUlJp )
at Rebex.Mail.MailMessage.Load(Stream input)
at Rebex.Mail.MailMessage.Load(String fileName)
if i open this message using outlook it works fine.
Do you have any idea?