You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/09/16 04:39:00 UTC

[jira] [Updated] (CAMEL-18517) Camel mail multipart messages do not include all body parts

     [ https://issues.apache.org/jira/browse/CAMEL-18517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-18517:
--------------------------------
    Fix Version/s: 3.x

> Camel mail multipart messages do not include all body parts
> -----------------------------------------------------------
>
>                 Key: CAMEL-18517
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18517
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-mail
>    Affects Versions: 3.18.2
>            Reporter: Jeff
>            Priority: Minor
>             Fix For: 3.x
>
>
> Camel mail does not include all MIME body parts in multipart messages. In the unit test linked below, the `htmlPart` body part is not contained in the body parts of the deserialized message. This test can easily be broken by simply changing the order that the MIME body parts are added to the multipart message in the `populateMimeMessageBody` method.
> [https://github.com/apache/camel/blob/main/components/camel-mail/src/test/java/org/apache/camel/component/mail/MimeMessageConsumeTest.java]
> Users expect to be able to send multipart emails which contain both plain text and html parts (multipart/alternative) so that the users email clients can display it appropriately. This is not possible with Camel, since only one of the two alternative body parts is deserialized.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)