PHP Classes

Debug text when sending with TLS

Recommend this page to a friend!

      SMTP E-mail sending class  >  All threads  >  Debug text when sending with TLS  >  (Un) Subscribe thread alerts  
Subject:Debug text when sending with TLS
Summary:Debug text when sending with TLS
Messages:1
Author:Gabriel Lemarie
Date:2011-12-17 19:58:12
 

  1. Debug text when sending with TLS   Reply   Report abuse  
Picture of Gabriel Lemarie Gabriel Lemarie - 2011-12-17 19:58:12
When sending an email through TLS, there are two calls to "OutputDebug" that are still printed even when "debug" is set to false.

The problem is in smtp.php, line 1254 and 1259 : add "if($this->debug)" il front of each line.

if($this->debug) $this->OutputDebug('Starting TLS cryptograpic protocol');
if($this->debug) $this->OutputDebug('TLS started');

Thanks for this class, it saved me a lot of pain !!