Hi,

    I've been trying to get this bit of code below working for an e-zing
on an estate agents web site but it does not seem to function correctly.
I am trying to send HTML formatted emails with text version as backup. I
get html to my hotmail account, text to my outlook and both to a text
only email account - anyone any ideas ?

Thanks in advance,

Paul Melanophy . . .

 

-------- Original Message --------

Subject: RE: HTML EMAIL

Date: Wed, 19 Dec 2001 16:55:39 -0800

From: "Joseph DeVore" <[EMAIL PROTECTED]>

Reply-To: [EMAIL PROTECTED]

To: CF-Talk <[EMAIL PROTECTED]>

References: <[EMAIL PROTECTED]>

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


______________________________________________________________________
Get Your Own 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=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to