Chilkat
HOME
Android™
ASP
Visual Basic
VB.NET
C#
iOS (IPhone)
Objective-C
C++
C
MFC
Delphi
FoxPro
Java
Perl
PHP Extension
PHP ActiveX
Python
PowerShell
Ruby
SQL Server
VBScript
MX Lookup for Mail ServerDownload: Chilkat .NET Assemblies How to find the mail server for a given email address. // DNS MX Lookup to find the mail server given an email address.
private void button9_Click(object sender, EventArgs e)
{
Chilkat.MailMan mailman = new Chilkat.MailMan();
mailman.UnlockComponent("anything for 30-day trial");
// Should return "mail.chilkatsoft.com"
string mailServerHostname = mailman.MxLookup("support@chilkatsoft.com");
MessageBox.Show(mailServerHostname);
}
Important: The download for this
example does not contain the ChilkatDotNet.dll which |
© 2000-2012 Chilkat Software, Inc. All Rights Reserved.