Here is what I consider a very fine blog post on how to properly use the CFMAIL and it's related tags, including a way to strip html to create nice text portions of the email.
http://www.trunkful.com/index.cfm/2010/5/27/How-to-CFMAIL-Properly-and-Keep-the-SPAM-in-the-Can -yes, that was a shameless plug for my blog - but the post is relevant. Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com [email protected] www.trunkful.com On Aug 4, 2011, at 2:27 PM, Casey Dougall wrote: > > Yeah, you also need to put "text" before "html" in order for it to show HTML > in Gmail if I recall > > > <cfmail> > <cfmailparam type="text"> > This is your plain text > </cfmailparam> > > <cfmailparam type="html"> > <p>This is your html</p> > </cfmailparam> > </cfmail> > > In order for > > > On Thu, Aug 4, 2011 at 3:25 PM, Bryan Stevenson < > [email protected]> wrote: > >> >> Why yes there is....they are called multipart e-mails....have a look at >> CFMAILPART (or something to that effect). >> >> It allows you to send one e-mail with both a plain text and HTML >> portion.....then it's up to receiver's mail client to display what the >> user wants to see ;-0 >> >> HTH >> >> Cheers >> >> On Thu, 2011-08-04 at 14:11 -0500, Greg Morphis wrote: >> >>> I'm giving users a choice of email type, html or plain. >>> Is there a way of getting around having 2 different emails, one for html >>> content and one stripped of tags? >>> >> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346537 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

