Page 1 of 1

email settings correct but still wont send notifications

Posted: 06 Jul 2005, 11:32
by nickduke
Hi all
I have set up my config to the following values:

$g_phpMailer_method = 2;
$g_smtp_host = 'hostname';
$g_smtp_username = '';
$g_smtp_password = '';

When i test the email or send a reminder it works perfect but when i want mantis to notify me of a change etc. it doesnt send the mail (no error message though). I have ensured that i should be notified of particular events in the profile section.
I am using mantis 1.0.0a3, windows xp, mysql.
Thanks in advance,
Nick

Posted: 10 Jul 2005, 18:14
by thraxisp
There are probably no notifications to send. Have you looked at the Manage -> Manage Configuration -> Email Notifications page to see if you have the appropriate notifications set up?

me too

Posted: 13 Jul 2005, 06:53
by hwangw@yahoo.com
I have the same problem.

I use a "developer" user to create/chg status and receive no email.

I check the setting of that developer in the Manage->Manage Configuration->Email Notifications, I checked all the box in the developer column already!

How I can debug email??

-Wade

I think I know the reason

Posted: 13 Jul 2005, 07:57
by hwangw@yahoo.com
After debugging the code, I found that if you are the current user, then Mantis will skip sending email to you. Let me give you a senario..

Say, you are a "developer" in mantis, your id is johnf and its email account is johnf@mycompany.com. You use johnf to create an issue, assign issue to yourself, ad note..... all thse events won't send you any email to johnf@mycompany.com.

To test email, create another developer id, says "wayned" whose email addr is also "johnf@mycompany.com". Now, login to mantis using johnf" and assigned your testing issue to wayned... Now you can rcv a email which Mantis sends to wayned... not johnf

This is tricky!!!

I can go to bed... finally :)

Posted: 13 Jul 2005, 19:17
by thraxisp
You may have "$g_email_receive_own' set to off (the default).

In 1.0.0a3, there is a system logging feature for debugging this type of issue. See $g_log_level, and $g_log_destination in config_inc.php for details. The setting LOG_EMAIL_RECIPIENT will dump information about the addressing of emails for each notification.

error send mail

Posted: 10 Aug 2005, 14:31
by mescobar
i have the same problem.

The error is:

SYSTEM WARNING: fsockopen(): unable to connect to mailhost.