default
07-12-2006, 12:51 PM
Hi everybody,
I have a domain for which i have not yet setup site. BY now i am thinking of giving e-mail accounts (i think it s called "aliases" so that i would be sort of promoting my future site. I just want that registered users can use their accounts as a forwarder/redirector to their other inboxex as i do not want to suply inbox for them.
Can you suggest me a php script for that?
PS: I am using cpanel
Thank you very much in advance.
maiahost
07-12-2006, 05:32 PM
OK let me get this straight - you want to give emails : name@yoursite.com that redirects to the person's account somewhere else?
default
07-17-2006, 03:51 PM
yes that s exactlt what i want to do.
Thanx for your reply.
zargon
07-17-2006, 07:43 PM
From CPanel you can create email forwarders. I have never used the CPanel API but I would think you could do this from there.
Johnny
default
07-18-2006, 11:20 AM
Hi and thanx for replies. It is correct that one can create email aliases from cpanel and use these addresses as forwarders but i would like to accomplish this task with a script.(automatically) i.e. signup script that will do all of these and create the account for forwarding after admin granting permission.
Thank you anyway.
brendandonhu
07-18-2006, 12:22 PM
I don't know of any existing scripts but I know that you can use cURL in PHP to login to cPanel and add an email alias.
Devin-VST
07-18-2006, 02:01 PM
You don't have to use cpanel - what you could do is set up a catch-all mailbox, so all emails that don't have an account on the server are parsed by some script.
It would read the "to" address of the incoming email, look it up in a database to get the user's real address, and forward it there. This way you could create a signup form to do it as well.
Unfortunately I don't know any premade php scripts to do this :\