Hi,
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 />
<cfelse>
<cfreturn arguments.emailAddress />
</cfif>
</cffunction>
</cfcomponent>
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!
Nacht