laravel-smtp-email-verifier
laravel-smtp-email-verifier copied to clipboard
501 Syntax error: SMTP line terminator expected
Hi,
when I try to verify an email of a german email provider https://www.mail.de then I get an error like this:
# php artisan tem:email [email protected]
HELO mydomain.de
250 mx03.mail.de
MAIL FROM:<[email protected]>
250 OK
NOOP mydomain.de
501 Syntax error: SMTP line terminator expected
But this doesn't seems to be an issue from the hoster itself. Much more it will come from Line 163 of \Skmetaly\EmailVerifier\Socket\SocketStream
where in the send
Method the "\r\n" is appended to the query. If I change this to PHP_EOL
it doesn't work either. So how to fix this?
Services like: https://verifalia.com/validate-email and https://verify-email.org
claim this address to be valid.