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
email settings correct but still wont send notifications
Moderators: Developer, Contributor
-
hwangw@yahoo.com
- Posts: 2
- Joined: 13 Jul 2005, 06:48
me too
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 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
-
hwangw@yahoo.com
- Posts: 2
- Joined: 13 Jul 2005, 06:48
I think I know the reason
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 :)
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 :)
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.
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.
-
mescobar
error send mail
i have the same problem.
The error is:
SYSTEM WARNING: fsockopen(): unable to connect to mailhost.
The error is:
SYSTEM WARNING: fsockopen(): unable to connect to mailhost.