If you're using cfmail in the context of a cferror tag, and you have cferror type="request", the page that is called from cferror can only process a small subset of the normal CF tags. This could be what you're running into.
In the past I had to do an html meta refresh to get around this limitation, putting the error values in the url. -- Josh ----- Original Message ----- From: "Chris Ditty" <[EMAIL PROTECTED]> To: "CF-Talk" <cf-talk@houseoffusion.com> Sent: Tuesday, May 01, 2007 7:43 AM Subject: CFMail - Outputting to screen instead of sending email > It has been a long while since I used the cfmail tag, so I am prob > missing something. For some reason, the mail tag is displaying the > contents on the screen instead of sending the email. > > I verified that there is a mail server setup in CF Admin. > > <cfmail > to = "#error.mailto#" > from = "#error.mailto#" > subject = "Error on #application.name# - Page: #error.template#"> > Error Date/Time: #error.datetime# > User's Browser: #error.Browser# > URL Parms: #error.querystring# > Previous Page: #error.HTTPReferer# > ----------------------------------- > #error.Diagnostics# > </cfmail> > > Any have any suggestions? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create Web Applications With ColdFusion MX7 & Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276640 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4