I don't receive Emails from Mantis

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
André
Posts: 5
Joined: 11 Sep 2008, 14:43

I don't receive Emails from Mantis

Post by André »

I'm sorry for my English level, I'm from Brazil.

I have already read all posts about this, but I can’t find a solution for this problem.

When I choose to change the user password, Mantis show me that the user will receive a mail with the new password. But the user doesn’t receive this message. But the message is saved on database.

I have already tried everything.

Config_inc.php:
$g_administrator_email = 'myemail';
$g_email_send_using_cronjob = ON;
$g_email_set_category = OFF;
$g_enable_email_notification = ON;
$g_from_email = 'myemail';
$g_limit_email_domain = OFF;
$g_phpMailer_method = 2;
$g_send_reset_password = ON;
$g_smtp_host = 'mysmtp';
$g_smtp_username = 'myemail';
$g_smtp_password = 'mypassword';
$g_webmaster_email = 'myemail';
$g_allow_signup = ON;

Thanks for your help.
vzw614
Posts: 143
Joined: 15 May 2008, 14:59

Re: I don't receive Emails from Mantis

Post by vzw614 »

What version of Mantis?

Have you tested to make sure email notifications work? (mantis\admin\check.php)

Are the SMTP settings correct in your php.ini file?

Do other email notifications work in Mantis?

Have you (or the user that isn't getting emails) changed any settings in My Account -> Preferences?

Have you enabled logging for email notifications?

(I've posted on all of the above topics before, click my user name and look thru my other posts)
André
Posts: 5
Joined: 11 Sep 2008, 14:43

Re: I don't receive Emails from Mantis

Post by André »

What version of Mantis?
1.2.0a2
Have you tested to make sure email notifications work? (mantis\admin\check.php)
I tested and the result is: "PROBLEMS SENDING MAIL TO myemail. Please check your php/mail server settings."
Are the SMTP settings correct in your php.ini file?
I don't know if this information helps, but my smtp server just works with that option "requires authentication" marked in the Outlook.
Do other email notifications work in Mantis?
No, Any notifications work.
Have you (or the user that isn't getting emails) changed any settings in My Account -> Preferences?
No.
Have you enabled logging for email notifications?
No, I didn't do this yet.

Thanks for your help.
vzw614
Posts: 143
Joined: 15 May 2008, 14:59

Re: I don't receive Emails from Mantis

Post by vzw614 »

Well it sounds like there is a problem with the settings for SMTP in your php.ini file. You need to get those fixed (there's a section for SMTP in the php.ini file) before you can test Mantis emails.
André
Posts: 5
Joined: 11 Sep 2008, 14:43

Re: I don't receive Emails from Mantis

Post by André »

PHP.ini:
[mail function]
; For Win32 only.
SMTP = mySMTP
smtp_host = mySMTP
smtp_port = 25

; For Win32 only.
sendmail_from = myEmail
----------------------------------------------
I need to set anything else?

I don't know if this is important, but I'm using Windows XP and IIS.

Thanks for your help again.
vzw614
Posts: 143
Joined: 15 May 2008, 14:59

Re: I don't receive Emails from Mantis

Post by vzw614 »

Is mySMTP actually a fully qualified SMTP server (you just edited it so as to not post it on here)?

Something like mailhost.mySMTP.com

Those should be the only settings you need in the php.ini file.
André
Posts: 5
Joined: 11 Sep 2008, 14:43

Re: I don't receive Emails from Mantis

Post by André »

Where I put mySMTP in the messagem, it's smtp.agiw.com.br, and this smtp is valid.

Thanks.
André
Posts: 5
Joined: 11 Sep 2008, 14:43

Re: I don't receive Emails from Mantis

Post by André »

I installed the TestLink and it sends email correctly, so I think the problem isn't in the server, but it's whith Mantis.
raodipak
Posts: 1
Joined: 26 Sep 2008, 04:08

Re: I don't receive Emails from Mantis

Post by raodipak »

Hi,

WE are facing a rather strange problem. We have created few user accounts and email notifications have been setup proeprly. The developers are not assigned to any project; all projects are public. The reporters themselves assign issues to the developers.On some occasions, the email notifciation reaches the wrong person. It happens on some occasions only. Can anyone help me out?
Post Reply