I thought so.

I do the same thing, but with slightly different settings.
Just wanted to make sure I wasn't missing something.
Better for me to assume ignorance on matters...I learn more. :o)

Rick

-----Original Message-----
From: Justin Scott [mailto:[email protected]] 
Sent: Thursday, September 23, 2010 10:06 AM
To: cf-newbie
Subject: RE: email+Application.cfc


> Now, what was the purpose of the code below?
> To set a site-wide email address in the application.systemEmail
> variable?

That would be the purpose, yes.  If you have a lot of places in the
application that send e-mail and they all need to come from the same
address, it's a lot easier to keep the setting in the application file and
update it once rather than searching through the code to replace every
instance.  Also note that the variable name "systemEmail" can be anything,
it's not a built in application setting for ColdFusion, just the name I
picked for the example I posted earlier.


-Justin





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:5113
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm

Reply via email to