获取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[^]