Android Question Mailparser truncates Subject header for forwarded messages

William Hunter

Active Member
Licensed User
In the parsing of headers, Mailparser truncates the Subject header for forwarded messages. A forwarded message will have a Subject header that looks like this:

Fwd: This is the subject

Mailparser truncates the header at the colon, retrieving only Fwd as the header.

The line - parts = Regex.Split(":", line) - in Sub ParseHeaders, would seem to be the cause.

Is there a change to Mailparser that could be made to ensure that the entire header is retrieved? A solution will be greatly appreciated.

Best Regards :)
 
Top