Josh -

        Try something like this (code below).  You will need to make an html
version of the email ("FriendConfirmation.htm") and a text version
("FriendConfirmation.txt") -- which I also use for AOL mail readers.

Best regards,
David




<cfset mimeBoundary = "World=_WatchDaily">

<cfmail to="#Attributes.friendEmail#"
        from="World Watch Daily<[EMAIL PROTECTED]>"
    subject="Personal recommendation from #Attributes.senderName#"
    server="#request.mailserver#"
    port=25>
<CFMAILPARAM name="X-mailer"
value="#chr(34)##mimeBoundary##chr(34)#multipart mailer v1.0">
<cfmailparam name="MIME-Version" value="1.0">
<cfmailparam name="Content-Type"
value="multipart/alternative;boundary=#chr(34)##mimeBoundary##chr(34)#">
This is a Multipart MIME message.

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

<cfinclude template="FriendConfirmation.txt">

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

<cfinclude template="FriendConfirmation.txt">

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

<cfinclude template="FriendConfirmation.htm">

--#mimeBoundary#--
</cfmail>


------------------------------------
David Grabbe
News Editor
World Watch Daily
[EMAIL PROTECTED]
http://worldwatchdaily.org


-----Original Message-----
From: Tipton Josh (orl1jdt) [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 26, 2002 9:53 AM
To: CF-Talk
Subject: Outlook and Cfmail


Is there anyway to send an email so that if the user has html it shows up
html formatted and if they are setup as plain text then it will only show
the plain text email?

Josh


______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
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