Email command line

karl0smoo

Verified User
Joined
Apr 5, 2007
Messages
24
Is there anyway to add a user email account via command line? i have proxy issues from work i know there is a way to allow this with directadmin to solve the proxy issue but a command line way would be prefered to add a user email account.

Thanks,
Karl Glover.
 
You want to make use of the api probably
http://www.directadmin.com/api.html#email

Example:

Code:
wget "http://da_username:da_password@localhost:2222/CMD_API_POP?action=create&domain=domain.com&user=myemailusername&passwd=myemailpassword&quota=0"
 
Last edited:
Back
Top