 | DnsHelperGetSmtpServers Method |
Gets SMTP servers for specified domain or email address.
This method searches DNS MX records. Servers are sorted by priority, first being the highest.
Namespace: Limilabs.Client.DNSAssembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntaxpublic List<string> GetSmtpServers(
string domainOrEmail
)
Public Function GetSmtpServers (
domainOrEmail As String
) As List(Of String)
public:
List<String^>^ GetSmtpServers(
String^ domainOrEmail
)
member GetSmtpServers :
domainOrEmail : string -> List<string> Parameters
- domainOrEmail String
- Domain or email address to search SMTP servers for.
Return Value
ListStringList of the SMTP servers.
See Also