Index: trunk/core/units/email_events/email_events_event_handler.php =================================================================== diff -u -N -r4845 -r5248 --- trunk/core/units/email_events/email_events_event_handler.php (.../email_events_event_handler.php) (revision 4845) +++ trunk/core/units/email_events/email_events_event_handler.php (.../email_events_event_handler.php) (revision 5248) @@ -227,6 +227,7 @@ } $smtp_object = &$this->Application->recallObject('kSmtpClient'); + $smtp_object->debug = $this->Application->isDebugMode() && constOn('DBG_SMTP'); $smtp_server = $this->Application->ConfigValue('Smtp_Server'); $smtp_port = $this->Application->ConfigValue('Smtp_Port');