W2k_jdk1.4.1_IIS5_THX1138
If you have a cfmail and are using something like:
<CFMAIL ... >
<CFIF attributes.HTML eq 1><CFMAILPARAM NAME="Content-Type"
VALUE="text/html"></CFIF>
...message...
</CFMAIL>
to reuse the same code but flip between html and plain text - it doesn't
seem to change the content-type anymore like it used to in CF5. In other
words, it always send mail in plain text using that block.
Pretty simple work around though, you can just do something like:
<CFMAIL
....
TYPE="#Replace(Replace(attributes.html,'1','HTML'),'0','')#"
>
...message...
</CFMAIL>
Which is probably the way most have it already, but just so you know the
first way worked in 5, and in my opinion is a bit more intuitive.
Rob
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.