I am searching for script to create cPanel email aliases at my website.
I now how to create emails and setup forwarders, but I am searching for aliases. The main difference I am searching for is to create one main mail box and unlimited aliases. Every mail sent to eny of existing aliases will be stored into the main account. I do not want to waste space storing mails in tho places as forwarders work.
|2007-10-17 08:21:34 - In reply to message 1 from Petar|
|If you create a fowarder for an email address which doesn't exist the mail will be forwarded and only stored in 1 place.|
$cpanel = new cPanelTools('username','password','example.com');
// create main email address
// create a email forward for "email@example.com" without actually creating the email address
All emails sent to firstname.lastname@example.org would be forwarded and stored at email@example.com