commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobin Juday <>
Subject [email] Content type multipart issue
Date Wed, 14 Jul 2010 00:24:20 GMT
I’m using the Commons email project to send HTML emails from my application,
and I’ve run into a problem.

The emails are sent fine, but if the receiver replies, the original message
is not included in the response.  (I know this sounds like an email client
issue, but Thunderbird, Gmail, and all perform similarly, so I
think the problem is elsewhere)

What I’ve narrowed it down to is this:  When Commons sends out an 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/, they just send
out the multipart/alternative section, it’s not wrapped in the

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.



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message