EmailValidatorValidate Method |
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.
Namespace: NeevSoftware.ComponentsAssembly: NeevSoftware.EmailValidator (in NeevSoftware.EmailValidator.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax public bool Validate(
string emailAddress
)
Public Function Validate (
emailAddress As String
) As Boolean
public:
bool Validate(
String^ emailAddress
)
member Validate :
emailAddress : string -> bool
Parameters
- emailAddress
- Type: SystemString
The email address to validate.
Return Value
Type:
Boolean
Returns true if the the email address is valid, else false.
See Also