Phpmailer presenting an unknown message

Asked

Viewed 106 times

1

My code is working but when it runs, next to the message (which appears when completing the sending process), 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 didn’t want this to appear, as I’m not experienced in PHP I have no idea where it is generating this message, will anyone who knows Phpmailer knows what this server message is?

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

The server I use is Windows.

  • Post the code that sends the email

1 answer

3


The key to the question was in the configuration:

$mail->SMTPDebug = 0;

that SMTPDebug was with the boleano value "1" IE, active... he was showing the whole sending process.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.