如何验证一个电子邮件地址的存在? [英] How to verify if a email address exists?
问题描述
是否有任何可能的方式,以找出是否电子邮件地址,在C#中的存在?
Is there any possible way to find out if an email address exists in c#?
例如。我有这样abcded@yahoo.com或asdf234@hotmail.com我该怎么做验证?
e.g. I have an email address like abcded@yahoo.com or asdf234@hotmail.com How can I do the validation?
推荐答案
电子邮件地址,一旦很久因特网和SMTP邮件传输协议被发明。这又回到了过去的好时光,当大家都好和友好的,所以命令被列入SMTP协议来验证电子邮件地址 - 在VRFY命令
Once upon a time the Internet and the SMTP mail transfer protocol was invented. It was back in the good old days when everyone were nice and friendly, so a command was included in the SMTP protocol to verify email addresses - the VRFY command.
不过,黑暗临到互联网带来的垃圾邮件,蠕虫和其他恶,所以Internet邮件服务器辩护什么通过禁用VRFY命令良好的系统管理员。
However, darkness came upon the Internet and brought spammers, worms and other evil, so the sysadmins of the Internet mail servers defended what was good by disabling the VRFY command.
所以短期答案是:否
这篇关于如何验证一个电子邮件地址的存在?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!