Email Confuguration Not Working mantisbt-1.2.19

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
bassmonk
Posts: 8
Joined: 04 Jul 2015, 15:19

Email Confuguration Not Working mantisbt-1.2.19

Post 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.
favioagg
Posts: 18
Joined: 04 May 2015, 18:35

Re: Email Confuguration Not Working mantisbt-1.2.19

Post 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.
bassmonk
Posts: 8
Joined: 04 Jul 2015, 15:19

Re: Email Confuguration Not Working mantisbt-1.2.19

Post by bassmonk »

Tried with 465 - ssl and 587 - tsl but no luck.
favioagg
Posts: 18
Joined: 04 May 2015, 18:35

Re: Email Confuguration Not Working mantisbt-1.2.19

Post by favioagg »

where is mantis hosted? your local server? your machine or a hosting service like godaddy.com?
bassmonk
Posts: 8
Joined: 04 Jul 2015, 15:19

Re: Email Confuguration Not Working mantisbt-1.2.19

Post by bassmonk »

On Localhost I'm using XAMPP
bassmonk
Posts: 8
Joined: 04 Jul 2015, 15:19

Re: Email Confuguration Not Working mantisbt-1.2.19

Post 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!
atrol
Site Admin
Posts: 8374
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Email Confuguration Not Working mantisbt-1.2.19

Post by atrol »

bassmonk,
thanks for coming back and telling the solution.
Please use Search before posting and read the Manual
favioagg
Posts: 18
Joined: 04 May 2015, 18:35

Re: Email Confuguration Not Working mantisbt-1.2.19

Post 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!
Post Reply