Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ping to check for real email addresses

Tags:

php

email

Is there anyway to ping an email address or something such like to check with it is a real working address. I'm not talking about regex or php validate filters etc, but actually checking the address exists??

like image 318
kalpaitch Avatar asked Mar 25 '11 09:03

kalpaitch


People also ask

Can you ping an email server?

Select CMD.exe or Command Prompt to open. Type ping then the IP Address or DNS Host name then press Enter. For example: ping smtp.gmail.com. NOTE: The connectivity test is successful if a reply from the SMTP Server is received.


1 Answers

It is possible, but not reliable to connect to the recipient mailserver and offer a mail, prompting the mailserver to reject or accept the mail. Not all mail servers will check the validity of adresses, so don't rely on it. Similar question here.

like image 118
jm_toball Avatar answered Sep 30 '22 22:09

jm_toball