Index: branches/unlabeled/unlabeled-1.22.2/kernel/units/email_events/email_events_event_handler.php =================================================================== diff -u -r5056 -r5240 --- branches/unlabeled/unlabeled-1.22.2/kernel/units/email_events/email_events_event_handler.php (.../email_events_event_handler.php) (revision 5056) +++ branches/unlabeled/unlabeled-1.22.2/kernel/units/email_events/email_events_event_handler.php (.../email_events_event_handler.php) (revision 5240) @@ -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');