Page 1 of 1

Email Confuguration Not Working mantisbt-1.2.19

Posted: 05 Jul 2015, 16:05
by bassmonk
Recently I've installed latest version of mantis 1.2.19. Also did email configuration as below:

# --- Email Configuration ---
$g_phpMailer_method = PHPMAILER_METHOD_MAIL; # or PHPMAILER_METHOD_SMTP, PHPMAILER_METHOD_SENDMAIL
$g_smtp_host = 'smtp.gmail.com'; # used with PHPMAILER_METHOD_SMTP
$g_smtp_username = 'abc@gmail.com'; # used with PHPMAILER_METHOD_SMTP
$g_smtp_password = 'abc@123'; # used with PHPMAILER_METHOD_SMTP
$g_administrator_email = 'abc@gmail.com';
$g_webmaster_email = ''abc@gmail.com";
$g_from_email = 'abc@gmail.com'; # the "From: " field in emails
$g_return_path_email = 'abc@gmail.com'; # the return address for bounced mail
# $g_from_name = 'Mantis Bug Tracker';
# $g_email_receive_own = OFF;
# $g_email_send_using_cronjob = OFF;

When I create a new user. None of the users are able to receive email notification from mantis.

Where I'm going wrond.

Please help me.

Re: Email Confuguration Not Working mantisbt-1.2.19

Posted: 06 Jul 2015, 13:44
by favioagg
yo didnt post the port, or are you not using it?

for gmail on smtp is 465.

make sure you have it set up.

Re: Email Confuguration Not Working mantisbt-1.2.19

Posted: 10 Jul 2015, 10:55
by bassmonk
Tried with 465 - ssl and 587 - tsl but no luck.

Re: Email Confuguration Not Working mantisbt-1.2.19

Posted: 10 Jul 2015, 20:24
by favioagg
where is mantis hosted? your local server? your machine or a hosting service like godaddy.com?

Re: Email Confuguration Not Working mantisbt-1.2.19

Posted: 16 Jul 2015, 11:21
by bassmonk
On Localhost I'm using XAMPP

Re: Email Confuguration Not Working mantisbt-1.2.19

Posted: 20 Jul 2015, 13:08
by bassmonk
Yes!!! started working. You need to allow access "Allow less secure apps: ON" from https://myaccount.google.com/u/1/securi ... nectedapps

Due to Google sign in policy it was not working.

Thanks!

Re: Email Confuguration Not Working mantisbt-1.2.19

Posted: 20 Jul 2015, 13:39
by atrol
bassmonk,
thanks for coming back and telling the solution.

Re: Email Confuguration Not Working mantisbt-1.2.19

Posted: 22 Jul 2015, 14:57
by favioagg
I forgot about that >.<, I used to have that issue but solved it long ago, then i changed to godaddy.com and the problems were diferent and i forgot about the security verification of google.
bassmonk sorry!