You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Tobin Juday (JIRA)" <ji...@apache.org> on 2010/07/14 17:58:53 UTC

[jira] Commented: (EMAIL-97) Content type multipart issues

    [ https://issues.apache.org/jira/browse/EMAIL-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12888401#action_12888401 ] 

Tobin Juday commented on EMAIL-97:
----------------------------------

So... gotta be honest here. 

I hacked up a fix to test it out with the rest of my system, and I found that with the "correct" multiparts, my replies still weren't coming through. After some more investigation, I found a stupid bug in our system that was deliberately throwing away the original email from the reply. 

After removing that code, I found that the original text comes through just fine in either case, whether or not the multipart/alternative is wrapped in a multipart/mixed or not. 

So, this fix is suddenly not so important to me. There still may be some value to producing output similar to other clients, but if there's a good reason to include the multipart/mixed, we might not want to remove it. Everything seems to work fine with it. 

Sorry for the red herring. I'd still be willing to test this if we do decide to move forward with this issue.

> Content type multipart issues
> -----------------------------
>
>                 Key: EMAIL-97
>                 URL: https://issues.apache.org/jira/browse/EMAIL-97
>             Project: Commons Email
>          Issue Type: Improvement
>    Affects Versions: 1.2
>            Reporter: Tobin Juday
>
> When Commons sends out an HTML email, it sends a multipart/mixed section which contains a multipart/alternative, which then contains the text/plain and text/html sections.  When I send out a similar messages from other apps (Thunderbird/Mail.app), they just send out the multipart/alternative section, it's not wrapped in the multipart/mixed.
> This is causing problems when recipients try to reply to one of these emails.  The email clients aren't quoting the original text in the reply email.
> I'm not sure if this is necessarily a bug, the emails display fine in all the different clients, but I'm wondering if there's some way to get rid of the multipart/mixed section.
> Just for clarification, I've included some links for what emails from different clients look like.
> Commons: http://gist.github.com/474799
> Mail.app: http://gist.github.com/474796
> Thunderbird: http://gist.github.com/474801
> If Commons could match what other clients send, I think that would be good.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.