Create e-mail accounts and e-mail forwarding without logging to c-panel (dynamic way)

bartosh44

Registered
Jun 28, 2011
1
0
51
Hi, i would like to have possibility to create e-mail account and/or e-mail forwarding without logging to cpanel. Is that possible? I read a lot and i understood that i may change something with files of etc/valiases file folder on ftp and it would give me a success in that.

Could anybody tell me that in siply way how to do it? Maybe some clue or something which helps me to do it properly.

Do i have to create some file with script to do that?
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,243
463
Re: Create e-mail accounts and e-mail forwarding without logging to c-panel (dynamic

Hello :)

You can create an email account via the following command:

Code:
# /scripts/addpop [email protected]
Creating a forwarder would involve using our API functions. The following thread contains useful information on this:

Generating Forwarders Programmatically

Thank you.