This project is read-only.

Error in MailMessageExtensions.ToEml

Topics: Help requests, Issues
Nov 29, 2014 at 5:02 PM
Edited Nov 29, 2014 at 5:04 PM
My native language is Russian. I apologize for my English.

I'm new here. Detected an error in the code 2.0.0.16, some methods will not work.

in MailMessageExtensions.ToEml instead File.Delete(eml) must be File.Delete(tmpPath), see below:
                     if (string.IsNullOrEmpty (tmpPath))
                         throw new OperationFailedException ();
                     else
                     {
                         var eml = File.ReadAllText (tmpPath);
                         //File.Delete(eml); // this is error: eml contains e-mail content, not a file name
                         File.Delete (tmpPath); // this is our temporary eml file, correct
                         return eml;
                     }
How should I report it?
Coordinator
Nov 29, 2014 at 9:38 PM
Hi Pizhonkov,

thank you, this problem has been reported before and is already fixed in the latest source code (see: http://imapx.codeplex.com/SourceControl/latest#ImapX/Extensions/MailMessageExtensions.cs). The binaries in the download section weren't updated yet, as it is done on bigger releases only.

А вообще, если что, можно писать и по-русски :)


Greets,

Pavel
Marked as answer by Pizhonkov on 11/30/2014 at 8:52 PM
Dec 1, 2014 at 4:52 AM
Thank you very much.

Буду иметь ввиду :)