diff --git a/src/Smtp.php b/src/Smtp.php index 8025a47..9d4cc97 100644 --- a/src/Smtp.php +++ b/src/Smtp.php @@ -79,6 +79,7 @@ class Smtp $errno, $errstr, $this->timeout, STREAM_CLIENT_CONNECT, $mainContext); + $php_errormsg = ""; ini_set('track_errors', 0); if ($this->smtpStream === false) {