ComponentSpace Email Checker Class Library Reference

EmailAddressChecker Class

Validate email addresses.

For a list of all members of this type, see EmailAddressChecker Members.

System.Object
   ComponentSpace.EmailChecker.EmailAddressChecker

[Visual Basic]
Public Class EmailAddressChecker
[C#]
public class EmailAddressChecker

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

The type of email address check may be specified using EmailCheck. You can check the syntax only, validate the domain name, and validate the email address against the domain's mail server.

Checking the syntax is the fastest check as it doesn't require communicating with a remote server. All email address formats, as specified by RFC-2822, are supported. For example, the following are valid email addresses:

Validating the domain name involves communicating with the domain's DNS server and retrieving the MX records that list the domain's mail servers.

Validating the email address involves communicating with the mail server using SMTP (RFC-2821) to attempt to determine whether the email address is valid. No email is sent to the user. Please note that although the SMTP check can determine whether an email address is bad it cannot guarantee an address is valid as not all mail servers provide notification of invalid user names.

The email check may occur synchronously (blocking) using Check, or asynchronously (non-blocking) using BeginCheck and EndCheck.

If you're behind a firewall you must ensure outgoing UDP traffic to port 53 (the default DNS port) and outgoing TCP traffic to port 25 (the default SMTP port) is permitted.

Requirements

Namespace: ComponentSpace.EmailChecker

Assembly: ComponentSpace.EmailChecker (in ComponentSpace.EmailChecker.dll)

See Also

EmailAddressChecker Members | ComponentSpace.EmailChecker Namespace