How to, using PHP, ping an SMTP server and check MX records? I'm willing to write a script such as the one that can be found on http://bit.ly/z4RE
I've used aaa@mailinator.com
as the test mail and this is the result in more human-readable format:
Result: Ok
Log:
MX record about mailinator.com exists.
Connection succeeded to mailinator.com SMTP.
220 mail.sogetthis.com ESMTP Postfix
> HELO verify-email.org
250 Hello
> MAIL FROM: <check@verify-email.org>
=250 OK
> RCPT TO: <aaa@mailinator.com>
=250 OK
I know that port 25 must be open on the server.