Quantcast
Channel: ImapX 2
Viewing all articles
Browse latest Browse all 1952

Commented Unassigned: Invalid content type [1832]

$
0
0
Hi Pavel, I have an issue with reading certain messages from a folder. The command

folder.Messages.Download("ALL", ImapX.Enums.MessageFetchMode.Tiny);

throws an execption and thus ends up with only some of the messages of the folder read. Exception message is "Der angegebene Inhaltstyp ist ungültig." which translates to "The mentioned content type is invalid".

ImapX.Enums.MessageFetchMode.None works fine and doesn't throw the exception.

I looked at the message in Windows Live Mail. It shows "Content-Type: text/plain;ISO-8859-1".


Thank you very much for putting so much effort into imapx. I really appreciate this.

Thorsten.
Comments: ** Comment from web user: pavel_azanov **

Hi Thorsten!

Thank you for the bug report! Sometimes the BodyStructureParser ends up with a wrong parsed content type of the message, which results in this kind of exception. A fix is coming soon.

PS: Feel free to write to me in German, I'm living in Germany since a long time ;-)

Greets,

Pavel


Viewing all articles
Browse latest Browse all 1952