|
|
@ -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))
|
|
|
|