EmailValidator DnsServers

"By default Ultimate Email Validator checks your system for your primary DNS server. As a benefit, you can specify custom DNS Servers in the DnsServers property of the EmailValidator class. Ultimate Email Validator will attempt to connect to each one, until a successful connection is made, and then use the first responsive DNS Server for the remainder of the Email Validator session."

The text above states that it is possible to specify custom DNS servers to validate against. But the mentioned property is readonly.


Product version: Ultimate Studio Package 6.8.4155 Standard

edited 12/2/2017 3:21:56 AM
asked 6/21/2017 11:16:11 AM
add a comment

2 Answers


Dear Sir,

That property is an IList, you can add and remove DNS servers to/from that list. We purposely mark it as readonly.

answered 11/16/2017 12:41:37 AM
add a comment
Ah yeah, that didn't orcur to me yesterday.

I was trying to replace the list object. ev.DnsServers = new ComponentPro.Collections.EmailValidator.UltimateStringCollection() { "" }; Which of course failed. I just can't see any reason why the property is readonly, but I guess it protects you from people setting it to null? You might however want to fix the documentation, since it implyies that you can set it.
"Gets or sets the collection of DNS servers that will be used to perform MX record lookup."

Anyway, thanks for the quick reply!
edited 1/18/2018 9:03:12 PM
answered 11/16/2017 12:41:37 AM
add a comment

Your Answer

Not the answer you're looking for? Browse other questions tagged mail or ask your own question.