ZennoLab Assemblies Documentation
ValidateEmail(String,String) Method
Example 

Type: System.String

The login for mail.

Type: System.String

The password for mail.

Validate Email address using login and password.
Syntax
public static void ValidateEmail( 
   string login,
   string pass
)

Parameters

login

Type: System.String

The login for mail.

pass

Type: System.String

The password for mail.

Example
The following example shows call the ValidateEmail method.
try 
{
    ZennoPoster.ValidateEmail({email}, {password});
}
catch
{
    // Email not valid!
}
try 
{
    $res = ZennoPoster::ValidateEmail({email}, {password});
}
catch(Exception $e) 
{ 
    // email not valid 
}
Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven

See Also

Reference

ZennoPoster Class
ZennoPoster Members
Overload List
MailConfirm Method

Send Feedback