| 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.DNS
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax public 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
- Type: SystemString
Domain or email address to search SMTP servers for.
Return Value
Type:
ListStringList of the SMTP servers.
See Also