Create multi-part message in MIME format Freemarker template
Posted
by
Mat Banik
on Stack Overflow
See other posts from Stack Overflow
or by Mat Banik
Published on 2011-01-03T01:44:42Z
Indexed on
2011/01/03
1:54 UTC
Read the original article
Hit count: 599
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>
© Stack Overflow or respective owner