ZennoLab Assemblies Documentation
ValidateEmail(String,String,String) Method
Example 
ZennoLab.CommandCenter Namespace > ZennoPoster Class > ValidateEmail Method : ValidateEmail(String,String,String) Method

Type: System.String

The login for mail.

Type: System.String

The password for mail.

Type: System.String

Proxy string in format: login:[email protected]:port OR ip:port.

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

Parameters

login

Type: System.String

The login for mail.

pass

Type: System.String

The password for mail.

proxyString

Type: System.String

Proxy string in format: login:[email protected]:port OR ip:port.

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: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

ZennoPoster Class
ZennoPoster Members
Overload List
MailConfirm Method