Gets highest priority SMTP server for specified domain or email address.
This method searches DNS MX records.
Namespace: Limilabs.Client.DNSAssembly: Mail (in Mail.dll) Version: 3.0.12102.1426
Syntax
| C# |
|---|
public static string GetSmtpServer(
string domainOrEmail
) |
| Visual Basic |
|---|
Public Shared Function GetSmtpServer ( _
domainOrEmail As String _
) As String |
| Visual C++ |
|---|
public:
static String^ GetSmtpServer(
String^ domainOrEmail
) |
Parameters
- domainOrEmail
- Type: System..::..String
Domain or email address to search SMTP servers for.
Return Value
Highest priority SMTP server.
See Also