获取MX Server以进行电子邮件验证 [英] Get MX Server for email validation

查看:128
本文介绍了获取MX Server以进行电子邮件验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿伙计们,



我做了一个Windows服务项目来检查电子邮件列表的验证。

看起来像这样: br $>


Hey guys,

ive made an windows service project to check the validation of email lists.
it looks like this:

startJob.Connect("THE SERVER I NEED", 25);
startJob.Authenticate("xx.xxx");
startJob.MailFrom(String.Format("ss.sss{0}@hotmail.com", this._emailExtension));
var response = startJob.RcptTo(item.EmailAddress);
startJob.Quit()





我的问题是我需要得到一个例子@ hotmail.com'发送到hotmail.com的MX服务器。



有人可以帮助我..我找不到一个明确/简单的例子



最好的问候



My problem is that i need to get 'for an example @hotmail.com' the MX server to send to for hotmail.com.

Can someone help me.. i don t find a clear / easy example

best regards

推荐答案

阅读此代码项目文章 C#.NET DNS查询组件 [ ^ ]
Have a read of this code project article C# .NET DNS query component[^]


这篇关于获取MX Server以进行电子邮件验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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