Best way of setting a global email recipient

#1
[eluser]prezet[/eluser]
Hi

What is the preferred method for setting a global variable for the recipient of the email class?

I've tried to do it in the email config file, but that doesn't seem to work:

Code:
$config['to'] = '[email protected]';

Basically, all the emails from the site I'm building are only ever going to be going to one address, and I'd like an easy way of maintaining that address should it need to change.

Thanks.


Messages In This Thread
Best way of setting a global email recipient - by El Forum - 08-30-2008, 06:41 AM
Best way of setting a global email recipient - by El Forum - 08-30-2008, 07:10 AM
Best way of setting a global email recipient - by El Forum - 08-30-2008, 07:18 AM
Best way of setting a global email recipient - by El Forum - 08-30-2008, 08:23 AM
Best way of setting a global email recipient - by El Forum - 08-30-2008, 08:31 AM
Best way of setting a global email recipient - by El Forum - 08-30-2008, 09:35 AM
Best way of setting a global email recipient - by El Forum - 08-30-2008, 09:40 AM
Best way of setting a global email recipient - by El Forum - 08-30-2008, 03:05 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.