diff --git a/src/mailer.php b/src/mailer.php index 91876f6..a67f866 100644 --- a/src/mailer.php +++ b/src/mailer.php @@ -112,7 +112,7 @@ if (mail($to,$subject,$message,$headers)) echo $subject . " mail sent successfully to " . trim($to) . "\n"; else - echo $subject . " mail not sent through to " . trim($to) . " - " . $mail->ErrorInfo . "\n"; + echo $subject . " mail not sent through to " . trim($to) . "\n"; } else { @@ -121,7 +121,7 @@ " mail sent successfully to " . trim($to) . ""; else echo "









" . $subject . - " mail not sent through to " . trim($to) . " - " . $mail->ErrorInfo . "

"; + " mail not sent through to " . trim($to) . ""; } // OPTION 2 - END OF BLOCK */