If you wnt a plain text email message, you will need to run the content from the DB through a function that strips the HTML.
However you could just send an HTML email message - is that a problem? On 9/13/07, NUGROHO NOTO <[EMAIL PROTECTED]> wrote: > I am sorry if this is the wrong place to post very basic question like this. > > my script is like this.... > <CFMAIL QUERY="mailinglist" > TO="#email#" > FROM="#webmaster#" > SUBJECT="#subject#"> > <CFMAILPARAM NAME="MIME-Version" VALUE="1.0"> > <CFMAILPARAM NAME="Content-Type" VALUE="text/plain; charset=""utf-8"""> > #content# > </CFMAIL> > > The content of the email is written in database (in html format) because it > is used for other purpose, viewed online by customers who want to read it > online on our website) > but when I send email .. and the content is outputing the query of those > content. > the emails I got... is like this. > <p></p>This is a sample email<br><br><br>content of the message<br><br>you > receive this email<br> > > So... <cfmail send the content of the query (including all the HTML code) > How can I send email using <cfmail... but stripping all the html code but > still retain the basic formating (carriage return etc) > > Thanks for reading this basic question... > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288345 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

