Cold Fusion code question
Posted on 2014-11-06
I am looking at some cold fusion code that I didn't write and trying to figure out something.
Here is the code:
<cfcomponent displayname="Email" output="false">
<cffunction name="getEnvProperAddress" access="public" output="false">
<cfargument name="emailAddress" required="true" />
<cfif application.environment neq "pro" and application.environment neq "beta">
<cfreturn application.email />
<cfreturn arguments.emailAddress />
I am particularly interested in this line: <cfreturn application.email />
I need to figure out where the email address that is being returned is coming from.
This CF code runs on a web server that has SQL server as it's back end. There are many stored procs in SQL server but it doesn't look like a stored proc is being used here.
There is a file at the root level of the web server called Application.cfc but I don't see any reference in that file to email addresses.
Thanks for the help!