Script to create email account without login into CPanel.
Some users wants to shared their multidomain capability of their hosting account with their friends but limit by the “single” login to the Cpanel. Meaning, if the owner doesn’t wants to share the cpanel login to other user/admin. He or she will not able to create email account by themselves.
I have found a solution from web, a PHP script that will automate the email account creation without login into CPanel.
The script should work on most CPanel control panel with some modification to theme. I have tested it on Hostmonster and it works perfectly.
Download the script here, AtomicEmailHM.zip
The script above no longer works . Please refer to https://sourceforge.net/projects/cpanelemail/ for updated script. (thanks to xphantoman)
Read the readme file in the archieve for instruction.
=================================================
Note : the $skin variable in the config.php file. Check your cpanel url on browser for the correct value IF you are not using hostmonster.
e.g. If your Cpanel control panel looks like
http://www.yourdomain.com:2082/frontend/x3/index.html
the $skin variable should set to
$skin= “x3″;
About author : This original article is property of Top 10 Web Hosting (http://www.top10webhosting.com). List of best web hosting services company offering PHP and MySQL. Compare & save ! on web hosting fee. Note : Please include author information if you wish to republish this article.13 comments Tuesday 17 Feb 2009 | BestHosting | email, free, support, webtool
hello,
it say successful create but it’s not. when i login in cpanel i don’t c the account
any help?
thnx
yes me too, i have tried this and it said is created it but i do not see is created in cp.
any idea!
Alidad
It perfectly worked, thank you.
Thank You!
I have been trying to get the Zubrag.com script to work for eight hours. This worked on first install! New account created in cpanel, just as stated. Good Job!
I have tried it in one of my project. With few minor changes, it worked perfectly. Thanks a lot.
Work great Thanks! Any way to remove emails this way also?
Have a client that wants full control over email addresses but again, do not want to give him access to cpanel.
This is a lovely script and looks nice when installed, but the only fault I can find is that it doesn’t communicate with cpanel to setup the email accounts. It says it has setup the account when you complete the signup but when you check in cpanel the account isn’t there. This script needs modifying so it communicates with cpanel.
can we use the Email account created here with Round cube?
I got the script working in a flash
Thanks so much! Very useful!
I had a quick question…or two…though
1) Would it be possible to somehow get it to post AND send the form to my email address So i can log my members?
2) And also would it be complicated to link the username/password to my phpbb forum? So it basically activates an email address when they register? Or it forces them to be registered on the phpbb DB in order to get an email account?
Thanks!
Thanks for the script. It works fine after some changes. Please let me know whether we can make e-mail account. I have hosting of google with unlimited email accouints. Please let me know. Thanks again.
I have tried the above script in the following url
http://solventindia.net/Email/add_email.php
it shows as the account successfully created but when checked in cpanel couldn’t find the mail account created .
Please help me
This script won’t work anymore. The new cpanel version uses new XML API to create new email accounts and perform other function externally. if the script doesn’t use API call. It won’t work. I hope the author update this script.
haven’t see any updates.
I decided to change the script using the new cpanel client api class.
You may download the script here
https://sourceforge.net/projects/cpanelemail/