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.12102.1426
Syntax
| C# |
|---|
public static List<string> GetSmtpServers( string domainOrEmail ) |
| Visual Basic |
|---|
Public Shared Function GetSmtpServers ( _ domainOrEmail As String _ ) As List(Of String) |
| Visual C++ |
|---|
public: static List<String^>^ GetSmtpServers( String^ domainOrEmail ) |
Parameters
- domainOrEmail
- Type: System..::..String
Domain or email address to search SMTP servers for.