Sending HTML-Formatted Mail
As noted in Table 21.1, you can set the optional type attribute of the <cfmail> tag to HTML, which enables you to use ordinary HTML tags to add formatting, images, and other media elements to your mail messages.
The following rules apply:
The recipient’s email client program must be HTML enabled. Most modern email clients, such as Outlook Express or Thunderbird, know how to display the contents of email messages as HTML. However, if the message is read in a program that isn’t HTML enabled, the user will see the message literally, including the actual HTML tags.
The mail message should be a well-formed HTML document, including. opening and closing <html>, <head>, and <body> tags.
All references to external URLs must ...
Get Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.