What about something like:

<cfoutput><a href="mailto:webmaster@;#cgi.server_name#">Email
Webmaster</a></cfoutput>

If your cgi.server_name shows up as www.wherever.com you can just lop the
www. part off.

Pete

----- Original Message -----
From: "Robert Forsyth" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, October 21, 2002 3:01 PM
Subject: Administrator Email Address


> Is there a way to dynamically set the admin email address when an error
pops
> up.  I run about 10 sites on one server and I would like to send the admin
> email from the default error page to different addresses based on the
> website it came from.
>
> TIA
> Robert
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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.

Reply via email to