EmailValidator Methods |
The EmailValidator type exposes the following members.
Name | Description | |
---|---|---|
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
Dispose | Releases all resources used by the Component. (Inherited from Component.) | |
Equals | (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
GetMXRecords |
Returns the MX records for a given domain name.
| |
GetType | Gets the type of the current instance. (Inherited from Object.) | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.) | |
Validate |
Validates a single email address.
The Validate method will only return true if a response of '250' is received from the 'RCPT TO' command,
and false otherwise. An EmailValidatorException is thrown if an error occurs at any time prior
to the 'RCPT TO' command allowing validity detection of an email address with the highest degree of
certainty.
| |
ValidateCSVFile |
Validates a list of email addresses in a CSV file.
Each email address must be found on a separate line by comma(,) itself.
|