Page 1 of 1

Create email forward for each new user - best way?

Posted: Sat Jul 03, 2010 11:39 pm
by Ben48
Hey all,

So, I need to create an email forward for each new user who registers on my site. I've found two ways of doing this:

1. Create a catch-all address and pipe mail to a PHP script that will check my database for the forwarding info and then send to correct address via the mail() command.

2. Use this script (http://www.zubrag.com/scripts/cpanel-em ... warder.php) with cpanel to create a real forward at user registration.

Is one solution better/more reliable than the other?

Thanks in advance.