I want to use php mailers debugging information to display on a webpage. When I turn on debugging, it just repeats the line. This means that my html is out of order, so I want it to be displayed as a variable, so I can place the output html where I want.
$mail->SMTPDebug = 2; $mail->Debugoutput = 'html';
source share