text/plain
text/html
utf-8
iso-8859-1
windows-1252
us-ascii
shift_jis
iso-2022-jp
euc-jp
euc-kr
big5
euc-cn
utf-16
.
cfmail( to = "recipient@example.com", from = "sender@example.com", subject = "Example email" ) {
cfmailpart(type="text/plain") {
writeOutput("If you are seeing this, your e-mail client does not support HTML messages.");
}
cfmailpart(type="text/html") {
writeOutput(htmlVersionOfMessage);
}
}
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.