Verifying an email address exist in C#(验证 C# 中是否存在电子邮件地址)
问题描述
关于这篇文章关于电子邮件验证,
Regarding this post about email verification,
使用 C#,你会怎么做
using C#, how would you
- 发出 VRFY 命令
- 发出 RCPT 命令
推荐答案
IMO,RCPT 方法是最好的,我仍然每天都在使用.
IMO, RCPT method is the best one, and I still use it everyday.
这里是必要的代码:http://mailsystem.codeplex.com/SourceControl/changeset/view/51422#541825
这个类比较重,你得从源代码中挑选你需要的代码片段.
The class is quite heavy, you will have to pick the code snippet you need from the source code.
这篇关于验证 C# 中是否存在电子邮件地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:验证 C# 中是否存在电子邮件地址


- Web Api 中的 Swagger .netcore 3.1,使用 swagger UI 设置日期时间格式 2022-01-01
- 带有服务/守护程序应用程序的 Microsoft Graph CSharp SDK 和 OneDrive for Business - 配额方面返回 null 2022-01-01
- 良好实践:如何重用 .csproj 和 .sln 文件来为 CI 创建 2022-01-01
- 如何用自己压缩一个 IEnumerable 2022-01-01
- C#MongoDB使用Builders查找派生对象 2022-09-04
- 输入按键事件处理程序 2022-01-01
- WebMatrix WebSecurity PasswordSalt 2022-01-01
- C# 中多线程网络服务器的模式 2022-01-01
- 在哪里可以找到使用中的C#/XML文档注释的好例子? 2022-01-01
- MoreLinq maxBy vs LINQ max + where 2022-01-01