#1485299: don't use SMTP's debug option

release-0.6
alecpl 16 years ago
parent 781f341b21
commit dea237e2d7

@ -85,10 +85,6 @@ function smtp_mail($from, $recipients, &$headers, &$body, &$response)
$SMTP_CONN = new Net_SMTP($smtp_host, $smtp_port, $helo_host); $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 // try to connect to server and exit on failure
$result = $SMTP_CONN->connect($smtp_timeout); $result = $SMTP_CONN->connect($smtp_timeout);
if (PEAR::isError($result)) if (PEAR::isError($result))

Loading…
Cancel
Save