problems with emails

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
spectdev
Posts: 2
Joined: 13 Feb 2011, 08:30

problems with emails

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

Re: problems with emails

Post by atrol »

Which version of MantisBT do you use?
Which operating system do you use?
Please use Search before posting and read the Manual
spectdev
Posts: 2
Joined: 13 Feb 2011, 08:30

Re: problems with emails

Post 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.
floydhung
Posts: 1
Joined: 16 Apr 2011, 03:21

Re: problems with emails

Post 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?
cor3huis
Posts: 21
Joined: 15 Jan 2010, 21:24

Re: problems with emails

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