smiley22 / S22.Imap

A free, easy-to-use and well-documented .NET library component for communicating with IMAP servers
http://smiley22.github.com/S22.Imap/Documentation/
MIT License
210 stars 112 forks source link

Forwarded HTML Message (Outlook) #76

Open radu103 opened 10 years ago

radu103 commented 10 years ago

forwarded_email_with_contact_info

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: xx@yy.c" htmal in the RAW message.

There are 2 ways of solving this :

I will attach and example raw Body from outlook

thanks

radu103 commented 10 years ago

forwarded_email_with_contact_info2

smiley22 commented 10 years ago

Thank you, I will take a look at it when I get a chance.

radu103 commented 10 years ago

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" notifications@github.com To: "smiley22/S22.Imap" S22.Imap@noreply.github.com Cc: "radu103" radu103@hotmail.com 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.

smiley22 commented 10 years ago

Yes sure, you can do that.

radu103 commented 10 years ago

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: notifications@github.com To: S22.Imap@noreply.github.com CC: radu103@hotmail.com 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.

radu103 commented 10 years ago

Or the second solution attached now :

I think this is better for compatibility...

From: radu103@hotmail.com To: reply@reply.github.com 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: notifications@github.com To: S22.Imap@noreply.github.com CC: radu103@hotmail.com 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.

hacker12691 commented 3 years ago