Hello all,
I am currently having an issue with mantis not recieving emails.
1) My current setting is as follows:
Default project: 'All projects' and Email settings are:
- EMail on New
- Email on change of Handler
- Email on Feedback
-EMail on close
-EMail on reopend
- EMail on note added
- Email on status change
- Email on priority change
- Email notes limit
Are all checked.
1) I have also check the settings under config_defaults_inc.php:
The current setting are set as follows:
$g_hostname = 'localhost';
$g_db_username = 'root';
$g_database_name = 'bugtracker';
$g_db_schema = ''; // used in the case of db2
$g_administrator_email = 'administrator@example.com';
$g_webmaster_email = 'webmaster@example.com';
$g_from_email = 'noreply@example.com';
$g_from_name = 'Mantis Bug Tracker';
$g_enable_email_notification = ON;
$g_email_receive_own = ON;
$g_phpMailer_method = 0;
The strange part is that I am able to recieve emails with no problem, however the other users can't. And other users have the same acount preferences as mine!
I am not sure what the problem is at all! I really appreciate your help with this urgent matter!
Regards,
daniel
Not receiving emails
Moderators: Developer, Contributor
Re: Not receiving emails
Thank you for your reply!
I am currently using mantis version 1.1.8.
regards,
daniel
I am currently using mantis version 1.1.8.
regards,
daniel
Re: Not receiving emails
This is a hint for me that you changed file config_defaults_inc.php of your installation because default setting of $g_email_receive_own is OFFmohadesz wrote: 1) I have also check the settings under config_defaults_inc.php:
The current setting are set as follows:
$g_email_receive_own = ON;
The file config_defaults_inc.php should never be changed!
Customization should be done in file config_inc.php (or in database with page "Manage" -> "Mange Configuratiomn") so that all defaults of MantisBT are preserved, especially when upgrading (and new defaults are added or changed)
This is really strange at first sight.mohadesz wrote: The strange part is that I am able to recieve emails with no problem, however the other users can't. And other users have the same acount preferences as mine!
Add the following lines to file config_inc.php (adjust $g_log_destination to your needs)
Code: Select all
$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:/tmp/mantisbt.log';Re: Not receiving emails
Thank you kindly for your reply!
1) First of all thank i will no longer modify the config_defaults_inc.php. Thanx for letting me know.
2) I have done what you have asked and here is the content of the file ( unfortunately I can't copy the entire file since I was getting email, i therefore copied only the last 4 lines)
2010-09-14 05:04 SGT mail bug=50, type=assigned, msg=email_notification_title_for_status_bug_assigned, recipients=()
2010-09-14 05:04 SGT mail_recipient bug=50, add reporter=5
2010-09-14 05:04 SGT mail_recipient bug=50, add handler=10
2010-09-14 05:04 SGT mail bug=50, type=closed, msg=email_notification_title_for_status_bug_closed, recipients=(zia.simab@gmail.com. johnny_wong@sics.a-star.edu.sg)
Thank you once again for your help and time!
regards,
daniel
1) First of all thank i will no longer modify the config_defaults_inc.php. Thanx for letting me know.
2) I have done what you have asked and here is the content of the file ( unfortunately I can't copy the entire file since I was getting email, i therefore copied only the last 4 lines)
2010-09-14 05:04 SGT mail bug=50, type=assigned, msg=email_notification_title_for_status_bug_assigned, recipients=()
2010-09-14 05:04 SGT mail_recipient bug=50, add reporter=5
2010-09-14 05:04 SGT mail_recipient bug=50, add handler=10
2010-09-14 05:04 SGT mail bug=50, type=closed, msg=email_notification_title_for_status_bug_closed, recipients=(zia.simab@gmail.com. johnny_wong@sics.a-star.edu.sg)
Thank you once again for your help and time!
regards,
daniel
Re: Not receiving emails
At least this shows that there is no problem with MantisBT when deciding which users get email.mohadesz wrote: 2010-09-14 05:04 SGT mail bug=50, type=closed, msg=email_notification_title_for_status_bug_closed, recipients=(zia.simab@gmail.com. johnny_wong@sics.a-star.edu.sg)
There are two people who should get email.
You should remove your changes in config_inc.php as this is not longer needed for this purpose.
I didn't try, but possibly there is a problem sending to sics.a-star.edu.sg
Try what happens when the second user also uses a gmail address.
Re: Not receiving emails
Thank you kindly for your help!
I have resolved the issue by clicking on Manage->Manage Configuration->Email notifications
I have then checked all the boxes corresponding to different access levels ( from viewer to administrator). Now everyone can recieve emails. I am still not sure why all of a sudden I started having this issue! Everything was working fine before and no one has modified this setting. But I am really happy that it is working. Thank you for your help!
I am not sure if I could ask my questions on the same thread but I have couple of quick general questions:
1) When I report a new issue , there is a drop down called 'reproducibility' which has different values ( from always to N/A). My question is that what does this really mean, aren't all the issues reproducible if they occur once?
2) Also is there any way that I could remove some of the fields such as reproducibility completely or can i add/remove some of the values in the drop-down for this variable? I have added
$g_csv_columns = array ( 'id', 'project_id', 'reporter_id', 'handler_id', 'priority', 'severity','version', 'projection', 'category', 'date_submitted', 'eta', 'os', 'os_build', 'platform', 'view_state', 'last_updated', 'summary', 'status', 'resolution', 'fixed_in_version', 'duplicate_id' );
to config_inc.php and removed the reproducibility from it. but it still doesn't work!
3) is there any way of making changes to any variables that I see on mantis page from the Manage -> Manage global variables? if yes can you give me a simple example?
thank you kindly,
regards
daniel
I have resolved the issue by clicking on Manage->Manage Configuration->Email notifications
I have then checked all the boxes corresponding to different access levels ( from viewer to administrator). Now everyone can recieve emails. I am still not sure why all of a sudden I started having this issue! Everything was working fine before and no one has modified this setting. But I am really happy that it is working. Thank you for your help!
I am not sure if I could ask my questions on the same thread but I have couple of quick general questions:
1) When I report a new issue , there is a drop down called 'reproducibility' which has different values ( from always to N/A). My question is that what does this really mean, aren't all the issues reproducible if they occur once?
2) Also is there any way that I could remove some of the fields such as reproducibility completely or can i add/remove some of the values in the drop-down for this variable? I have added
$g_csv_columns = array ( 'id', 'project_id', 'reporter_id', 'handler_id', 'priority', 'severity','version', 'projection', 'category', 'date_submitted', 'eta', 'os', 'os_build', 'platform', 'view_state', 'last_updated', 'summary', 'status', 'resolution', 'fixed_in_version', 'duplicate_id' );
to config_inc.php and removed the reproducibility from it. but it still doesn't work!
3) is there any way of making changes to any variables that I see on mantis page from the Manage -> Manage global variables? if yes can you give me a simple example?
thank you kindly,
regards
daniel
Re: Not receiving emails
Please use one thread per question. This helps other users when searching for problems.mohadesz wrote: I am not sure if I could ask my questions on the same thread but I have couple of quick general questions:
Re: Not receiving emails
Sure!
I will do so!
Just on a quick note, I have just noticed that one of the users is still having issues with the email!
I have tried using what you have suggested ( by entering the gmail address for both, th person who reports it and the person who is the task assigned to). And it does work fine!
Anyways I really appreciate your help with this!
regards,
daniel
I will do so!
Just on a quick note, I have just noticed that one of the users is still having issues with the email!
I have tried using what you have suggested ( by entering the gmail address for both, th person who reports it and the person who is the task assigned to). And it does work fine!
Anyways I really appreciate your help with this!
regards,
daniel