Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0-M1
-
None
-
Patch Available
Description
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 <image src="cid:0001" /> 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)
Attachments
Issue Links
- is depended upon by
-
CAMEL-1506 Recursively scan multipart nodes of an email for attachments - not just top level nodes
- Closed