PHPMailer displaying an unknown message

1

My code is working, but when it runs next to the message (which appears when the sending process is complete), the following information appears:

2014-11-18 16:19:05 CLIENT -> SERVER: EHLO .org.br 
2014-11-18 16:19:05 CLIENT -> SERVER: STARTTLS 
2014-11-18 16:19:06 CLIENT -> SERVER: EHLO .org.br 
2014-11-18 16:19:06 CLIENT -> SERVER: AUTH LOGIN 
2014-11-18 16:19:06 CLIENT -> SERVER:  
2014-11-18 16:19:06 CLIENT -> SERVER:  
2014-11-18 16:19:07 CLIENT -> SERVER: MAIL FROM: 
2014-11-18 16:19:07 CLIENT -> SERVER: RCPT TO: 
2014-11-18 16:19:07 CLIENT -> SERVER: DATA 
2014-11-18 16:19:07 CLIENT -> SERVER: Date: Tue, 18 Nov 2014 14:19:05 -0200 
2014-11-18 16:19:07 CLIENT -> SERVER: To:  
2014-11-18 16:19:07 CLIENT -> SERVER: From: Portal AMB 
2014-11-18 16:19:07 CLIENT -> SERVER: Subject: CLIENT -> SERVER: Message-ID: <[email protected]> 
2014-11-18 16:19:07 CLIENT -> SERVER: X-Priority: 3 
2014-11-18 16:19:07 CLIENT -> SERVER: X-Mailer: PHPMailer 5.2.9 (https://github.com/PHPMailer/PHPMailer/) 
2014-11-18 16:19:07 CLIENT -> SERVER: MIME-Version: 1.0 
2014-11-18 16:19:07 CLIENT -> SERVER: Content-Type: text/html; charset=utf-8 
2014-11-18 16:19:07 CLIENT -> SERVER: Content-Transfer-Encoding: 8bit 
2014-11-18 16:19:07 CLIENT -> SERVER: 
2014-11-18 16:19:07 CLIENT -> SERVER: Conforme o solicitado, segue abaixo o link para a mudança de sua senha: Clique aqui visite este link para recuperar a sua senha: 
2014-11-18 16:19:07 CLIENT -> SERVER: 
2014-11-18 16:19:07 CLIENT -> SERVER: . 
2014-11-18 16:19:08 CLIENT -> SERVER: QUIT parabéns!

I do not want this to appear, as I am not experienced in PHP I have no idea where it is generating this message, does anyone who knows PHPMailer know what this server message is?

The message displays all the information on my server with the information that is sent to the person, so I took it to ask you.

The server I use is Windows.

    
asked by anonymous 18.11.2014 / 17:21

1 answer

3

The key to the question was in the configuration:

$mail->SMTPDebug = 0;

This SMTPDebug was with Boolean value "1" ie active ... it was showing the whole process of sending.

    
18.11.2014 / 17:33