O'Reilly logo

Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started by Charlie Arehart, Raymond Camden, Ben Forta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required