|
|||
|
Add email address using linux command line
I'm trying to learn how to add an email address to an account at the linux operating system command line. I have search through the cPanel and red hat user guides without success. Can anyone point me in the right direction.
Thanks, John |
|
|||
|
Add email address using linux command line
Hello classywear!
Now that you know how to create a new email account via command line do you know how to set up an email quota via command line? I really need to do this. Thanks in advance. Cheers. http://forums.cpanel.net/f4/command-...ss-119665.html |
|
||||
|
Quote:
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit |
|
|||
|
non-root add email account?
Is there a way to get a non-root account to be able to setup an email account via ssh or shell_exec via a php script?
Basically I want to be able to add a form in a password protected directory that will allow me to fill out a form to create the email account. Mainly it is for a business setup where multiple managers can setup email accounts for their divisions without cPanel access. |
|
||||
|
Quote:
The actual function call for creating an email account is an API1 function: Code:
<cpanel Email="addpop($FORM{'email'},$FORM{'password'},$FORM{'quota'},$FORM{'domain'})">
API version: 1 Module: Email Function: addpop First arg: the part of the email address before @ Second arg: password for the email account Third arg: a number, specifying the quota for this mail account in MB Forth arg: the part of the email address after @ Matt has made a nifty PHP 5 class that makes calling our APIs much easier if you're using PHP 5. You can find his class at: XMLAPI php class
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit |
![]() |
| Thread Tools | |
| Display Modes | |
|
|