From a4f8064ff29ff873ae930efe0f79185cdfe9c54b Mon Sep 17 00:00:00 2001 From: Gnieark Date: Wed, 30 Dec 2015 16:32:51 +0100 Subject: [PATCH] debog ok --- src/act.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/act.php b/src/act.php index a88f06c..4a50727 100644 --- a/src/act.php +++ b/src/act.php @@ -147,7 +147,7 @@ switch($_POST['act']){ $mail = new PHPMailer; $mail->isSMTP(); //$mail->IsHTML(true); - $mail->SMTPDebug = 2; + //$mail->SMTPDebug = 2; $mail->Debugoutput = 'html'; $mail->Host = $smtpParams['host']; $mail->Port = $smtpParams['port']; @@ -162,13 +162,13 @@ switch($_POST['act']){ if (!$mail->send()) { error(500,"Mailer Error: " . $mail->ErrorInfo); } else { - echo "Message sent!"; + //echo "Message sent!"; } }else{ - echo "plop".$err."plop"; die; + //echo "plop".$err."plop"; die; }