| DnsHelperGetSmtpServer Method |
Gets highest priority SMTP server for specified domain or email address.
This method searches DNS MX records.
Namespace:
Limilabs.Client.DNS
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax public string GetSmtpServer(
string domainOrEmail
)
Public Function GetSmtpServer (
domainOrEmail As String
) As String
public:
String^ GetSmtpServer(
String^ domainOrEmail
)
member GetSmtpServer :
domainOrEmail : string -> string
Parameters
- domainOrEmail
- Type: SystemString
Domain or email address to search SMTP servers for.
Return Value
Type:
StringHighest priority SMTP server.
See Also