Creating an email account via a php script
Is there any way to create an email account from a php script?
I was thinking that something like useradd would work via the exec() command, and tried to but to no avail.
Any insight would be greatly appreciated. I can have root access to the server if necessary.
rehash posted this at 19:17 — 21st September 2005.
They have: 15 posts
Joined: Sep 2005
exec()/system() should work if you are not running php in safe mode
another idea is to write the adduser commands to a file, and run crontab each minute to execute the file
www.busybits.com - list your site and increase your exposure
EasyNuke posted this at 01:19 — 24th December 2005.
They have: 23 posts
Joined: Dec 2005
I tried creating so it was integrated basicly with cPanel.. I did it for a multiforums site to create subforums... but i could never get the e-mail to work.. sadly enough..
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.