|
#1
|
|||
|
|||
|
A method is needed to create email accounts in mass.
This is needed when migrating from existing servers. Who really wants to sit there and type an account, click create, click go back, repeat 100+ times. Or If there was a separate admin function for email not linked to the control panel that other folks could use then we could split the work up. (I asked support about that... nada) I did find a kludge way around it using a tip from some php code that was trying to do this, excel (to build the html code), word (to reformat it), and a feature in my browser that will open all links on a page. The tip came from www.zubrag.com/scripts cPanel Email Account Creator 1.0 The php did not work but the idea does. (del the spaces around that colon below.. .and that is one line) http : //$cpuser:$cppass@$cpdomain:2082/frontend/$cpskin/mail/doaddpop.html?email=$euser&domain=$edomain&passwor d=$epass"a=$equota $cpuser = your control panel id (your account) $cppass = your password $cpdomain = control panel domain (your domain or IP) $cpskin = usually 'x' $euser = The email user id $epass = the email pw $edomain = the email domain $equota = quote in mb eg.. 20 etc. I used that in excel with a list from my existing email server to build the html code. Took that and pasted into word (as plain text). excel was being a pita about the links. Saved the file as html. Opened up in my browser (avant) and used a feature that can open all web links of a page. It created all 100 or so email accounts in about 30 seconds. ![]() -cp ps.. that might also work without the control panel user and pw if a cookie is already set and your loged into to the panel. I did not try it that way though. Last edited by Chief Plasma; 03-05-2007 at 11:58 PM. |
|
#2
|
|||
|
|||
|
Thank you for sharing this idea
|
|
#3
|
||||
|
||||
|
Thanks for reinventing the wheel for us. If you need any more panel functions, like create/delete accounts, ftp login, or such stuff, try searching for cpanel class here or in cpanel.net. There is a great php class for all of the normal cpanel functions.
|
|
#4
|
|||
|
|||
|
Wow that script was buried.
Even after searching here and finding another post with a better file name finally found what your talking about. "class.cpanel.php" Make sure you use the quotes if your searching for it over there. The thread over there is Automatic Deletion and Creation (Email, Subdomains, FTP, Addon/Parked domains, MySQL) http://forums.cpanel.net/showthread....ass.cpanel.php Unless there is another. Some times re-creating the wheel is necessary to expose those hidden gems out there. As far as that script goes I did not see anything in there to address mass creation. One would have to build the same kludge or one like it that I ended up with. Which was the original intent of the post. There should be something supported here at HG to mass load accounts. Make it easier for folks to switch and they will. -cp |
|
#5
|
||||
|
||||
|
Yes, if they aren't coming from a cpanel host, it can be a bit of a task to move.
|
|
#6
|
||||
|
||||
|
Quote:
thanks.will come in handy
__________________
Charles Gan Hostgatorreview.org
|
|
#7
|
||||
|
||||
|
Is this script still working? I was having it installed in one of my sites, and suddenly I found out today that this is no more working. Now, I am wondering if this has anything do with the cPanel upgrade that HG did a couple of months ago ...
If anyone of you are also facing any problem in this front, thanks for sharing. edit My mistake, it was a stupid password error mixed with the famous 'catch' thing, solved now.
Last edited by kigoobe; 10-13-2007 at 11:29 AM. |
|
#8
|
|||
|
|||
|
You have also some good sticky about mass mail creating / transfert there: http://forums.cpanel.net/
Registration is free. This said, Kigoobe, most of the time this kind of script behaviour is related to phpsueexec. try to inhibit php.ini temporarily in thr script containing folder. (Eventually reset the php version of the script working before in the htacces file) |
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
All times are GMT -5. The time now is 02:56 PM.











