Page 1 of 1

problems with emails

Posted: 13 Feb 2011, 09:16
by spectdev
I have spent close to 5 hours trying to get e-mail and am just about to give up on Mantis.
I have not having any success using either gmail or my hosting email service (dreamhost).

My config_inc.php contains the following:

Code: Select all

    $g_use_phpMailer = ON;
    $g_enable_email_notification = ON;
    $g_administrator_email = 'myemail@gmail.com';
    $g_return_path_email = 'myemail@gmail.com';
    $g_from_email = 'myemail@gmail.com';
    $g_from_name = 'My Bug Tracker';
    $g_phpMailer_method = 2;
    $g_smtp_host = 'smtp.gmail.com';
    $g_smtp_port = '587';
    $g_smtp_username = 'myemail@gmail.com';
    $g_smtp_password = 'xxxxxxx';
    $g_smtp_connection_mode = 'tls';
    $g_send_reset_password  = ON;

    $g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
    $g_log_destination = 'file:/var/log/mantisbt.log';
The only log I get in mantisbt.log is: 2011-02-13 08:56 UTC mail password_reset=myemail@gmail.com

Re: problems with emails

Posted: 13 Feb 2011, 21:11
by atrol
Which version of MantisBT do you use?
Which operating system do you use?

Re: problems with emails

Posted: 13 Feb 2011, 21:52
by spectdev
Thanks for the reply.

I was using 1.1.8.
The issue has been resolved after I upgraded to 1.2.4.
Now, I am able to receive e-mails. :)

Quick question: how do I change the e-mail to use a domain name instead of the IP when users sign up?

Thanks.

Re: problems with emails

Posted: 16 Apr 2011, 03:29
by floydhung
I am in a different problem. It works fine with gmail smtp until I changed password in gmail account. I fired up tcpview and looked at its connection activity. It seems it was reject from smtp server. It sends one packet (5X bytes data) and disconnects. Apache tries three times and gives up. I tried reset my gmail password to the previous one and did not work either. Any suggestion?

Re: problems with emails

Posted: 18 Apr 2011, 09:48
by cor3huis
It wouldbe good if you want to solve your issue still to use a regular email client like Thunderbird and make very sure you can at least get and send email in that program. use the EXACT same login username and password and settings as you use in this email program...