PATCH for TMail to handle MS Outlook Emails

Discussion in 'Ruby' started by Mikel Lindsaar, Oct 22, 2007.

  1. 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
     
    Mikel Lindsaar, Oct 22, 2007
    #1
    1. Advertising

  2. Mikel Lindsaar

    Trans Guest

    On Oct 21, 11:52 pm, "Mikel Lindsaar" <> wrote:
    > 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.
     
    Trans, Oct 22, 2007
    #2
    1. Advertising

  3. Mikel Lindsaar

    barjunk Guest

    On Oct 21, 7:52 pm, "Mikel Lindsaar" <> wrote:
    > 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.
     
    barjunk, Oct 24, 2007
    #3
  4. Mikel Lindsaar

    barjunk Guest

    On Oct 21, 8:47 pm, Trans <> wrote:
    > On Oct 21, 11:52 pm, "Mikel Lindsaar" <> wrote:
    >
    >
    >
    > > 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.


    Trans,

    Thanks for keeping this active.

    Mike B.
     
    barjunk, Oct 24, 2007
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ryan
    Replies:
    0
    Views:
    399
  2. Replies:
    40
    Views:
    3,514
    Steve Holden
    Dec 27, 2004
  3. Lenard Lindstrom
    Replies:
    3
    Views:
    579
  4. George Sakkis
    Replies:
    3
    Views:
    389
  5. Hugo Lefebvre
    Replies:
    3
    Views:
    186
    Dave Anderson
    Oct 22, 2007
Loading...

Share This Page