Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 34689 invoked from network); 14 Jul 2010 00:25:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Jul 2010 00:25:08 -0000 Received: (qmail 78142 invoked by uid 500); 14 Jul 2010 00:25:07 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 78016 invoked by uid 500); 14 Jul 2010 00:25:07 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 78008 invoked by uid 99); 14 Jul 2010 00:25:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jul 2010 00:25:06 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tobinibot@gmail.com designates 74.125.82.171 as permitted sender) Received: from [74.125.82.171] (HELO mail-wy0-f171.google.com) (74.125.82.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jul 2010 00:25:00 +0000 Received: by wyi11 with SMTP id 11so4916236wyi.30 for ; Tue, 13 Jul 2010 17:24:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=amQy1hIl6FVd2I9pWCI9OWyi7TX4ZHDCO60rvHEfIeM=; b=O07OvIHYhT1O4TVCPT9J0IE5gED1jyaPVGEeDrOCYegWjv5Xr12AAFfFaTOVozziEa F9Gwhcc1H8dJD0YztCQkJU18tIyp+9SoDjsv31r0smp7eyRYaiAGlTtV00ocjm2HZnIX mpdHo/rNPiKiAE7z5hr6Uec9sESiHoRh/yU/g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=BApC9x2+2szCxaven6qETEjlWO2LP7hXyLoLxTmP4sYwRzvcX1mMT1MJmnHZJDL6ZV lTnxvBVPk/4pueCSyXWHng3dbxOHdzcEKJrB3CyN+OJydDNKHROeK4ZOBAYxLhiTGv2v oUdBR515v7VleP9EIazttSC5ut/KKX8g7MD+8= Received: by 10.216.235.106 with SMTP id t84mr2697326weq.46.1279067080178; Tue, 13 Jul 2010 17:24:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.65.213 with HTTP; Tue, 13 Jul 2010 17:24:20 -0700 (PDT) From: Tobin Juday Date: Tue, 13 Jul 2010 20:24:20 -0400 Message-ID: Subject: [email] Content type multipart issue To: user@commons.apache.org Content-Type: multipart/alternative; boundary=00151757415ef53d0f048b4e0228 X-Virus-Checked: Checked by ClamAV on apache.org --00151757415ef53d0f048b4e0228 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I=E2=80=99m using the Commons email project to send HTML emails from my app= lication, and I=E2=80=99ve 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 Mail.app all perform similarly, so I think the problem is elsewhere) What I=E2=80=99ve narrowed it down to is this: When Commons sends out an e= mail, 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=E2=80=99s not wrapped in the multipart/mixed. I=E2=80=99m not sure if this is necessarily a bug, the emails display fine = in all the different clients, but I=E2=80=99m wondering if there=E2=80=99s some wa= y to get rid of the multipart/mixed section. Just for clarification, I=E2=80=99ve included some links for what emails fr= om different clients look like. Commons: http://gist.github.com/474799 Mail.app: http://gist.github.com/474796 Thunderbird: http://gist.github.com/474801 Tobin --00151757415ef53d0f048b4e0228--