I'm trying to figure out how to define an email address as a variable and then use it in an agent procedure.
Lets say this variable is client_email, then I need only create a single procedure that will fire off a mail to that variable. The variable will get its value dependant on the organization.
for example, if org1 executes this procedure, then the variable client_email will have the value firstname.lastname@example.org org2 executes this procedure, the the variable client_email will have the value email@example.com
Has any one done something like this or can point me in the right direction?help would be much appreciated.