Forwarded HTML Message (Outlook)

When e message is forwarded from outlook and the FROM is present in Contacts then in the S22.Imap Body, only the name is fetched. (the original mail address is on a href="mailto: [email protected]" htmal in the RAW message.
There are 2 ways of solving this :
- access to the RAW BODY TEXT (in the MailMessage class)
- taking in original headers the X-Forwarded-For (the original mail)
- in the Body of the Mail Message to fetch also the mailto: address not only the name.
I will attach and example raw Body from outlook
thanks

Thank you, I will take a look at it when I get a chance.
Do you mind if I solve the problem and send you the file for update?
Sent from my HTC
----- Reply message ----- From: "Torben Könke" [email protected] To: "smiley22/S22.Imap" [email protected] Cc: "radu103" [email protected] Subject: [S22.Imap] Forwarded HTML Message (Outlook) (#76) Date: Thu, Feb 6, 2014 13:49 Thank you, I will take a look at it when I get a chance.
— Reply to this email directly or view it on GitHub.
Yes sure, you can do that.
The patched file attached. If forwarded message the it is multiparted and mime part type Unknown but has value (it was cheched only by name) So if it has a multipart unknown with a value it will be put in Body after new line, just like in Outlook
Pls check and release if you consider a good solution.
Date: Thu, 6 Feb 2014 12:58:12 -0800 From: [email protected] To: [email protected] CC: [email protected] Subject: Re: [S22.Imap] Forwarded HTML Message (Outlook) (#76)
Yes sure, you can do that.
— Reply to this email directly or view it on GitHub.
Or the second solution attached now :
- add to attachments the original message that was forwarded (has value and mime part type Unknown)
I think this is better for compatibility...
From: [email protected] To: [email protected] Subject: RE: [S22.Imap] Forwarded HTML Message (Outlook) (#76) Date: Fri, 7 Feb 2014 16:45:46 +0000
The patched file attached. If forwarded message the it is multiparted and mime part type Unknown but has value (it was cheched only by name) So if it has a multipart unknown with a value it will be put in Body after new line, just like in Outlook
Pls check and release if you consider a good solution.
Date: Thu, 6 Feb 2014 12:58:12 -0800 From: [email protected] To: [email protected] CC: [email protected] Subject: Re: [S22.Imap] Forwarded HTML Message (Outlook) (#76)
Yes sure, you can do that.
— Reply to this email directly or view it on GitHub.