Create multi-part message in MIME format Freemarker template
- by Mat Banik
How do you create email message that contains text and HTML version for the same content?
Of course I would like to know how to setup the freemarker template or the header of the message that will be send.
When I look on the source of message multi-part message in MIME format that I receive in inbox every once in while this is what is in there:
This is a multi-part message in MIME format.
------=_NextPart_000_B10D_01CBAAA8.F29DB300
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
...Text here...
------=_NextPart_000_B10D_01CBAAA8.F29DB300
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html><body> html code here ... </body></html>