Forums | Mahara Community
Developers
/
New Registration problems
14 December 2009, 9:05
Hi everyone!
i am using dreamhost sharedhosting..whenever i am trying to register a new user ,it fails.This might me due to the e-mail problem. but whenever i tried the wordpress and joomla on the same sharedhosting,the e-mail program was working fine.
But with mahara the e-mail is not working..what might be the problem?
however,if i want to configure the smtp as smtp.gmail.com... how shud i do that?
can anyone will help me out ?
Thanks
19 March 2013, 23:00
you can try the following
The solution for this error was that the SMTP URL was invalid.
wrong format
$cfg->smtphosts = 'smtp.gmail.com';
right format
$cfg->smtphosts = 'ssl://smtp.gmail.com:465';
$cfg->smtpuser = 'Your gmail username';
$cfg->smtppass = 'Your gmail password';
Ps: This code must be on config.php in the root folder
one a note, google has a security feature that if this mahara server is some where else than the usual location, google will consider it as a HACK and will deny the access.
you will have to to google.com/blocked then recognize the device sign in. next time on, it will be fine.