PowerTCP Sockets for .NET
GetMxHostEntries(String,IPEndPoint) Method




Email address (or domain server name).
IPEndPoint that specifies the DNS server.
Resolves an emailAddress or mail server using the specified DNS server.
Syntax
'Declaration
 
Public Overloads Function GetMxHostEntries( _
   ByVal emailAddress As String, _
   ByVal remoteEndPoint As IPEndPoint _
) As MxHostEntry()
'Usage
 
Dim instance As DnsSlave
Dim emailAddress As String
Dim remoteEndPoint As IPEndPoint
Dim value() As MxHostEntry
 
value = instance.GetMxHostEntries(emailAddress, remoteEndPoint)
public MxHostEntry[] GetMxHostEntries( 
   string emailAddress,
   IPEndPoint remoteEndPoint
)
public: MxHostEntry*[]* GetMxHostEntries( 
   string* emailAddress,
   IPEndPoint* remoteEndPoint
) 
public:
array<MxHostEntry^>^ GetMxHostEntries( 
   String^ emailAddress,
   IPEndPoint^ remoteEndPoint
) 

Parameters

emailAddress
Email address (or domain server name).
remoteEndPoint
IPEndPoint that specifies the DNS server.

Return Value

An array of MxHostEntry objects associated with the email address.
Remarks

Any email address must be in the standard user@hostname form.

See Also

Reference

DnsSlave Class
DnsSlave Members
Overload List


PowerTCP Sockets for .NET Documentation Version 4.5
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic