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 |
Reporter | br8kwall | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.19 | ||||
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 | ||||
Description | 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; https://www.mantisbt.org/forums/viewtopic.php?f=3&t=23672#p58948 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 14:49 Details 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 email_send(). This commit adds a LOG_EMAIL_VERBOSE entry clearly showing when the debug email address is used. Fixes 0020679 |
Affected Issues 0020679, 0020684 |
|
mod - core/email_api.php | Diff File |