Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 30040 invoked from network); 2 Apr 2009 05:13:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Apr 2009 05:13:57 -0000 Received: (qmail 95458 invoked by uid 500); 2 Apr 2009 05:13:57 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 95396 invoked by uid 500); 2 Apr 2009 05:13:57 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 95386 invoked by uid 500); 2 Apr 2009 05:13:57 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 95383 invoked by uid 99); 2 Apr 2009 05:13:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 05:13:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 05:13:55 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B8D1D234C053 for ; Wed, 1 Apr 2009 22:13:34 -0700 (PDT) Message-ID: <1720026657.1238649214755.JavaMail.jira@brutus> Date: Wed, 1 Apr 2009 22:13:34 -0700 (PDT) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Updated: (CAMEL-1507) Allow sending multipart/alternative MIME messages with both a plain-text and text/html body, and allow sending images inline In-Reply-To: <1440919826.1238547094704.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-1507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-1507: ------------------------------- Fix Version/s: 2.0.0 > Allow sending multipart/alternative MIME messages with both a plain-text and text/html body, and allow sending images inline > ---------------------------------------------------------------------------------------------------------------------------- > > Key: CAMEL-1507 > URL: https://issues.apache.org/activemq/browse/CAMEL-1507 > Project: Apache Camel > Issue Type: Improvement > Components: camel-mail > Affects Versions: 2.0-M1 > Reporter: Ryan Gardner > Assignee: Willem Jiang > Fix For: 2.0.0 > > Attachments: camel-mail-test2.zip, mulitpartAlternativePatch.patch > > > To send a multipart/alternative email you have to follow a pretty specific course. > This adds a property (which is poorly named in this patch) to the MailConfiguration that names the header that contains the plaintext version of the email, and adds a property where you can embed images inline. If an attachment has a filename starting with "cid:" then this will add the "Content-ID" header to that multipart body - which will allow the email client to put the image in the appropriate place when it is viewed. (i.e. the html email has something like and the attachment is named 'cid:0001' - when it sees an inline attachment with "Content-ID: 0001" it will put it in the right spot) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.