PDA

View Full Version : Joomla users autocreate email account



bek
10-18-2008, 06:55 AM
Hi my friends, Im using joomla 1.5 and was searching how any user could auto create email account without have access to cpanel.

then Ive found this this old joomla module.

You only must open "mod_cpanelbeta.php" and change settings.

I hope this help somebody and if you think that code is not secure please post it.

dorian
10-23-2008, 12:55 PM
hi thanks for the script but have the problem in my website www.webspace.com.br
i need module to create user and account email or only email in cpanel

any suggetions?

bek
10-23-2008, 01:04 PM
hi my friend.
Looking in your site and your cpanel i think there is no problem.
You have joomla 1.5 and cpanel, you only need download script, extract, edit "mod_cpanelbeta.php" with your own user and password for cpanel and zip again, upload with joomla and thats all.
Im using that script and no problem.
Just look what theme is using your account.

if you cant do it contact me.

orblando@gmail.com

Abel1337
10-23-2008, 01:15 PM
worked for me! thanks
http://images.mydetaileddetail.com/img/491/h08z1005tebx/smile.gif

bek
10-23-2008, 01:18 PM
Great, youre welcome.
I hope this will be usefull for everybody.

dorian
10-23-2008, 08:42 PM
this is a error

Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /home/webspace/public_html/modules/mod_cpanelbeta/mod_cpanelbeta.php on line 39

Warning: fopen(http://...@@webspace.com.br:2082/frontend/rvlightblue/mail/doaddpop.html?email=doriancosentino&domain=webspace.com.br&password=locomia&quota=1000) [function.fopen]: failed to open stream: no suitable wrapper could be found in /home/webspace/public_html/modules/mod_cpanelbeta/mod_cpanelbeta.php on line 39

dorian
10-23-2008, 08:56 PM
Warning: fopen() [function.fopen]: Couldn't resolve host name in /home/webspace/public_html/modules/mod_cpanelbeta/mod_cpanelbeta.php on line 39

Warning: fopen(http://...@@webspace.com.br:2082/frontend/rvlightblue/mail/doaddpop.html?email=ola&domain=webspace.com.br&password=ola&quota=1000) [function.fopen]: failed to open stream: Success in /home/webspace/public_html/modules/mod_cpanelbeta/mod_cpanelbeta.php on line 39


thanks

bek
10-24-2008, 10:20 AM
I think that cpanel theme is the problem.
If you edit "mod_cpanelbeta.php" before upload with joomla, you can change variables. Look at your code in line 23

$xskin = "x";

In your case, you should replace "x" by "rvlightblue" that is theme used by cpanel in your account.

http://webspace.com.br:2082/frontend/rvlightblue/mail/doaddpop.html?email=ola&domain=webspace.com.br&password=ola&quota=1000

try it and if it works, post it please.

dorian
10-26-2008, 03:18 PM
Hi Bek,

Sorry but the same problem, i change my theme in cpanel to X

look my config
$content = "Hi";
$cpanel_user = "webspace"; // Cpanel Username
$cpanel_pass = "mypassword"; // Cpanel Password
$domain = "webspace.com.br"; // Website Domain (if your domain is http://www.yourdomain.com use yourdomain.com
$xskin = "x"; // Cpanel Skin (Cant Find It? Check the link to the left and only fill in the stars (usually only x) : <a href="http://www.domain.com:2082/frontend/****/" target="_blank">http://www.domain.com:2082/frontend/****/</a>)
$quota = "1000"; // Quota in MEGS (how much diskspace does one get.
$smtpdomain = "webspace.com.br:2095"; // The Address Of The SMTP Server (smtp.domain.com, domain.com ect.)
$pop3domain = "webspace.com.br:2095"; // The Address Of The POP3 Server (pop3.domain.com, domain.com ect.)

Warning: fopen() [function.fopen]: Couldn't resolve host name in /home/webspace/public_html/modules/mod_cpanelbeta/mod_cpanelbeta.php on line 39

Warning: fopen(http://...@@webspace.com.br:2082/frontend/x/mail/doaddpop.html?email=doriancosentino&domain=webspace.com.br&password=locomia&quota=1000) [function.fopen]: failed to open stream: Success in /home/webspace/public_html/modules/mod_cpanelbeta/mod_cpanelbeta.php on line 39

bek
10-27-2008, 11:29 AM
I use bluehost hosting and here the SMTP and Pop3 servers are mail.mysite.com
Looking at your code smtp and pop3domain are webspace.com.br:2095
check that, I think should be mail.webspace.com.br:2095

$smtpdomain = "mail.webspace.com.br:2095"; // The Address Of The SMTP Server (smtp.domain.com, domain.com ect.)
$pop3domain = "mail.webspace.com.br:2095"; // The Address Of The POP3 Server (pop3.domain.com, domain.com ect.)

or ask to your hosting support.

djcsaeed
11-12-2008, 10:11 AM
Hi

I have set all of settings for this module.

when user create account, see successfully note, but dosnt create any email and if create again by same name, again see this message :

------------------------------------
Ready! Account created
Account : MyUser@(MYSITE).com
Password : *****
Pop3 : mail.(MYSITE).com:2095
Smtp : mail.(MYSITE).com:2095
Hi
-------------------------------------

Please help me

:(

bek
11-12-2008, 10:38 AM
whats address of your site?

Meerecat
11-27-2010, 03:44 PM
Hello

I am trying to use this module to create a cPanel email address on a different domain to my Joomla website. The domain is on the same server with the same shared ip address.

I have configured the file correctly and it says it has been created, but it is not.

If I configure it to use the same domain my Joomla site is on it works fine.

Does anybody have any ideas?

Thanks