如何理解电子邮件是有效的和存在的 [英] How To Understand Email is Valid And Exist

查看:67
本文介绍了如何理解电子邮件是有效的和存在的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我是开发者网站。

在注册部分我想评估电子邮件或Gmail用户输入有效和存在。

SomeBody有验证Web服务的样本吗?(对于Asp.Net)

非常感谢

Hi All
I am Developer site.
In Sign Up Section I Want Evaluate Email Or Gmail User Entered Is Valid and Exist.
SomeBody Have Sample For authenticate Web Service?(For Asp.Net)
Thanks So Much

推荐答案

如何查找或验证电子邮件地址 [ ^ ]可以帮助您检测您的电子邮件ID是否在客户端上有效。



但是,它的只是无法检测它是否是活动的电子邮件ID。
How to Find or Validate an Email Address[^] can help you detect if your email id is valid on the client.

However, its just not possible to detect whether it is an active email id.


您可以使用正则表达式\w +([ - +。] \ w +)* @的正则表达式方法\ w +([ - 。] \ w +)* \.\w +([ - 。] \w +)*以验证电子邮件格式。

并且为了它的存在,你必须从数据库中检查。
You can use Regex method with regular expression "\w+([-+.'']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" to validate email format.
And for its existence you have to check it from database.


这篇关于如何理解电子邮件是有效的和存在的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆