PATCH for TMail to handle MS Outlook Emails

M

Mikel Lindsaar

TMail handles the "content-type" header field per RFC 2045.

Per the RFC you can not use /[?/=]/ in the boundary=field unless it is
quoted, MS Outlook Express (at least) violates this rule.

The fix is to check the boundary= value for the special characters and
wrap it in quotes if the special characters exist and the field is not
already quoted.

I have written a patch with failing tests for this and sent it to the
Maintainer, for anyone else, you can get it now and apply it to TMail
0.10.8 from here:

http://www.blognow.com.au/q/76050/Fix_for_TMail_to_handle_MS_Outlook_MIME_Emails.html

Or: http://tinyurl.com/2kezwr

Regards

Mikel
 
T

Trans

TMail handles the "content-type" header field per RFC 2045.

Per the RFC you can not use /[?/=]/ in the boundary=field unless it is
quoted, MS Outlook Express (at least) violates this rule.

The fix is to check the boundary= value for the special characters and
wrap it in quotes if the special characters exist and the field is not
already quoted.

I have written a patch with failing tests for this and sent it to the
Maintainer, for anyone else, you can get it now and apply it to TMail
0.10.8 from here:

http://www.blognow.com.au/q/76050/Fix_for_TMail_to_handle_MS_Outlook_...

Or:http://tinyurl.com/2kezwr

Hi! I recently took over maintenance of this project from Minero Aoki,
as he is too busy with other things. I setup a RubyForge project and
subversion repo. If you are confident in your changes, I'd like to
give you commit privileges. Email me off list and we can discuss
further.

T.
 
B

barjunk

TMail handles the "content-type" header field per RFC 2045.

Per the RFC you can not use /[?/=]/ in the boundary=field unless it is
quoted, MS Outlook Express (at least) violates this rule.

The fix is to check the boundary= value for the special characters and
wrap it in quotes if the special characters exist and the field is not
already quoted.

I have written a patch with failing tests for this and sent it to the
Maintainer, for anyone else, you can get it now and apply it to TMail
0.10.8 from here:

http://www.blognow.com.au/q/76050/Fix_for_TMail_to_handle_MS_Outlook_...

Or:http://tinyurl.com/2kezwr

Regards

Mikel

Thank you Mikel. I am currently trying to use this library. Thanks
for your work.

Mike B.
 
B

barjunk

TMail handles the "content-type" header field per RFC 2045.
Per the RFC you can not use /[?/=]/ in the boundary=field unless it is
quoted, MS Outlook Express (at least) violates this rule.
The fix is to check the boundary= value for the special characters and
wrap it in quotes if the special characters exist and the field is not
already quoted.
I have written a patch with failing tests for this and sent it to the
Maintainer, for anyone else, you can get it now and apply it to TMail
0.10.8 from here:

Or:http://tinyurl.com/2kezwr

Hi! I recently took over maintenance of this project from Minero Aoki,
as he is too busy with other things. I setup a RubyForge project and
subversion repo. If you are confident in your changes, I'd like to
give you commit privileges. Email me off list and we can discuss
further.

T.

Trans,

Thanks for keeping this active.

Mike B.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top