Hi, John... Now, what was the purpose of the code below? To set a site-wide email address in the application.systemEmail variable?
Rick -----Original Message----- From: John Barrett [mailto:[email protected]] Sent: Thursday, September 23, 2010 7:58 AM To: cf-newbie Subject: Re: email+Application.cfc Hi Justin, thanks so much! I got it, in the Application.cfc file I have <cfcomponent output="false"> <cffunction name="onRequestStart" output="false"> <cfset application.systemEmail = "[email protected]" /> </cffunction> </cfcomponent> then I do a test.cfm <cfoutput>#application.systemEmail#</cfoutput> and it works, very happy, thank you so much! So now I can use the #application.systemEmail# through out the application include the email forms. Johnny ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5111 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm
