Need example demonstrating camel-mail support of endpoint sending multipart/alternative message

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Need example demonstrating camel-mail support of endpoint sending multipart/alternative message

MarkBi
Need an example demonstrating camel-mail support of endpoint sending a multipart/alternative message (plain text body and equivalent html body).

"./src/test/java/org/apache/camel/component/mail/MimeMessageConsumeTest.java" is an example using javamail transport to send a multipart/alternative but not the camel-mail endpoint. If an example is not readily available, does camel-mail support this or is it a known limitation due to single body exchange? If it is a limitation then is it possible to send 2nd part as attachment (but without filename, disposition, etc...) and with the appropriate alternative content types.

Many thanks!