From dea237e2d7d81ed68f77af3a2da4b7436eb36c11 Mon Sep 17 00:00:00 2001 From: alecpl Date: Tue, 16 Dec 2008 13:00:55 +0000 Subject: #1485299: don't use SMTP's debug option --- program/include/rcube_smtp.inc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/program/include/rcube_smtp.inc b/program/include/rcube_smtp.inc index fd1dff3f0..92f808bd3 100644 --- a/program/include/rcube_smtp.inc +++ b/program/include/rcube_smtp.inc @@ -85,10 +85,6 @@ function smtp_mail($from, $recipients, &$headers, &$body, &$response) $SMTP_CONN = new Net_SMTP($smtp_host, $smtp_port, $helo_host); - // set debugging - if ($CONFIG['debug_level'] & 8) - $SMTP_CONN->setDebug(TRUE); - // try to connect to server and exit on failure $result = $SMTP_CONN->connect($smtp_timeout); if (PEAR::isError($result)) -- cgit v1.2.3