Create email forwarders on cPanel based hosting. No need to login to cPanel. Provide cPanel login and password once, and use this script each time you need to create email forwarder.
Can be run in either way:
- Parameters passed via URL (see example below)
- If no parameters passed via URL then will show email forwarder parameters entry form
Usage:
- Update script with your cPanel login, password, skin (once)
- When running script to create email forwarder, provide following data:
-
- Username - create email forwarder for this username(sample: john)
- Domain - create email forwarder for this domain (sample: mysite.com)
- Redirect to - forward emails to address (sample: jimm@site2.com)
Sample parameters passing via url:
cpanel_email_forwarder.php?euser=john&edomain=site1.com&eforward=johny@site2.com
|