Yeah, I can do that. It's the images that are throwing me for a loop.

I may have a solution. I was able to find a modified version of Jochem van
Dieten's old CF_ADVANCEDEMAIL tag floating around. It looks like it will do
exactly what I need.

> -----Original Message-----
> From: Stephenie Hamilton [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 22, 2003 3:16 PM
> To: CF-Talk
> Subject: RE: CFMAIL multipart and attachment
> 
> 
> I do the same thing (except no images) in our welcome letter as many
> people, especially developers do not want html email..
> 
>   <!--- cfset default email params --->
> <CFSET MIMEBOUNDARY = "----MIME-BOUNDARY----">
> <cfset crlf = chr(13)&chr(10)>
> <CFSET contenttype = "multipart/alternative;
> boundary="""&MIMEBOUNDARY&"""">
> <CFSET myHeaders = "X-Mailer: MIME-Version: 1.0">
> <CFSET myPlainMsgTop = "--#MIMEboundary##crlf#Content-Type: 
> text/plain;
> charset=us-ascii#crlf#Content-Transfer-Encoding: 7bit#crlf##crlf#">
> 
> <CFSET myHTMLMsgTop = "--#MIMEboundary##crlf#Content-Type: text/html;
> charset=us-ascii#crlf#Content-Transfer-Encoding: 7bit#crlf##crlf#">
> 
> 
> <cfmail to="#email#" from="[EMAIL PROTECTED]" subject="Welcome to
> CFXHosting!" type="HTML">
> <cfmailparam name="Content-type" value="#contenttype#">
> <cfmailparam name="MIME-Version" value="1.0">
> 
> <!--- plain text version --->
> #myPlainMsgTop#
> 
> Plain text content here
> 
> <!--- html version --->
> #myHTMLMsgTop#
> 
>  html content here
> </cfmail> 
> 
> 
> This allows users who have html email enabled to receive the html
> version and if they don't they get the plain text
> ~~
> Stephenie Hamilton
> Macromedia Certified ColdFusion Professional
> CFXHosting
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Everett, Al [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, July 22, 2003 2:50 PM
> To: CF-Talk
> Subject: CFMAIL multipart and attachment
> 
> 
> I know this is possible, but I just can't get it to work.
> 
> Marketing wants to send out a message to a bunch of our 
> customers. Being
> Marketing, of course, they want to send HTML e-mail. I've 
> convinced them
> that 1) Lots of people don't want/can't read HTML e-mail and 2) that
> links to a website from an HTML message to retrieve an image is are
> often (wisely) blocked within e-mail. So, I've convinced them 
> that there
> should be a text alternative and that the image should be 
> sent attached
> to the message.
> 
> I can create an e-mail message with a plain text alternative 
> section. I
> can create a message with the image attached. Unfortunately, I've been
> unable to do both.
> 
> Help?
> 
> I'm using CF5.0 on W2K. A non-CFMAIL solution is not viable.
> --------------------------------------------------------------
> ----------
> --
> NOTICE:Unless expressly stated otherwise, this message is confidential
> and may be privileged. It is intended for the addressee(s) 
> only. Access
> to this E-mail by anyone else is unauthorized. If you are not an
> addressee, any disclosure or copying of the contents of this E-mail or
> any action taken (or not taken) in reliance on it is unauthorized and
> may be unlawful. If you are not an addressee, please notify 
> your system
> administrator immediately at [EMAIL PROTECTED]
> 
> **Although this email and any attachments are believed to be 
> free of any
> virus or other defect that might affect any computer system into which
> it is received and opened, it is the responsibility of the 
> recipient to
> ensure that it is virus free and no responsibility is accepted by the
> sender for any loss or damage arising in any way from its use.
> --------------------------------------------------------------
> ----------
> ---
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to