This code should get you on your way.
For simplicity I use 3 includes for the mime parts.

� TEXT.CFM (plain text version for text only clients)
� AOL.CFM (aol version for older version of aol - limited html tags)
� HTML.CFM (html version)

<cfmail to="" from="" subject="">
<cfmailparam name="X-Mailer" value="VeloxWeb multipart mailer v1.0">
<cfmailparam name="MIME-Version" value="1.0">
<cfmailparam name="Content-Type" value="multipart/alternative;
boundary=veloxweb">

--veloxweb
Content-Type: text/plain; charset=us-ascii

<cfinclude template="text.cfm">

--veloxweb
Content-Type: text/x-aol; charset=us-ascii

<cfinclude template="aol.cfm">

--veloxweb
Content-Type: text/html; charset=us-ascii

<cfinclude template="html.cfm">

--veloxweb--
</cfmail>

HTH,

Joseph DeVore
VeloxWeb Technologies




-----Original Message-----
From: Tony Gruen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 4:28 PM
To: CF-Talk
Subject: HTML EMAIL


Forgive the redundancy - I saw this q answered here weeks ago yet cannot
find it in the FAQ or archives.

I am trying to nail down the syntax for HTMl formatted emails with text
version as backup. You know, the proper way to do it.

I thought about using the custom tag CF_HTMLMAIL but we are using iSMail SE
and I don't know that I can combine the two.







______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to