View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0020679||mantisbt||feature||public||2016-03-09 12:42||2016-06-12 00:42|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Target Version||1.3.0-rc.2||Fixed in Version||1.3.0-rc.2|
|Summary||0020679: Enhance the logging to show email addresses being sent to|
Trying to debug email, the event log (plugin) is one of the only logs I can see.
I'm getting "[mail] ERROR: Message could not be sent - Invalid address: 1" in the event log, but I'd really like to be able to see the offending value... in this case the problematic email address I guess.
A note from @vboctor recommended that this be requested as an expansion in mantis logging, versus within the plugin itself.
|Tags||No tags attached.|
this is caused by setting $g_debug_email = ON;
Behaviour might change in 1.3, see also 0020684
I thought about this as a possible cause, but then discarded that because the original report mentioned Product Version 1.2.19.
The change in $g_debug_email handling was only introduced in 1.3.0-beta.1
Right, but $g_debug_email = ON does also not work in 1.2.19
Good point. Thanks.
Following resolution of 0020684, I thought it made sense to improve the logging as suggested here
MantisBT: master 0bb3cfb1
2016-06-05 18:49:47Details Diff
|Enhance logging to show debug email when used
Prior to this, when using an invalid address, user would not see a clear
indication in the log file that the debug email was being used,
resulting in confusion caused by the error message generated by
This commit adds a LOG_EMAIL_VERBOSE entry clearly showing when the
debug email address is used.
|mod - core/email_api.php||Diff File|
|2016-03-09 12:42||br8kwall||New Issue|
|2016-03-10 03:51||atrol||Assigned To||=> atrol|
|2016-03-10 03:51||atrol||Status||new => resolved|
|2016-03-10 03:51||atrol||Resolution||open => no change required|
|2016-03-10 03:51||atrol||Note Added: 0052732|
|2016-03-10 03:52||atrol||Relationship added||related to 0020684|
|2016-03-10 04:27||dregad||Note Added: 0052734|
|2016-03-10 04:51||atrol||Note Added: 0052736|
|2016-03-10 05:39||dregad||Note Added: 0052739|
|2016-03-22 08:20||atrol||Status||resolved => closed|
|2016-06-05 18:58||dregad||Assigned To||atrol => dregad|
|2016-06-05 18:58||dregad||Status||closed => feedback|
|2016-06-05 18:58||dregad||Resolution||no change required => reopened|
|2016-06-05 18:58||dregad||Note Added: 0053269|
|2016-06-05 18:58||dregad||Changeset attached||=> MantisBT master 0bb3cfb1|
|2016-06-05 18:58||dregad||Status||feedback => resolved|
|2016-06-05 18:58||dregad||Fixed in Version||=> 1.3.0-rc.2|
|2016-06-05 18:58||dregad||Target Version||=> 1.3.0-rc.2|
|2016-06-05 18:59||dregad||Resolution||reopened => fixed|
|2016-06-12 00:42||vboctor||Status||resolved => closed|