pm_Checker:: mail_passwd Method

Checks whether the password to the specified email account is valid.

Syntax

public static function mail_passwd ($login, $password)

Parameters

login

      A string value that specifies the email account name.

password

      A string value that specifies the password to the email account.

Returns

A boolean set to true if the email password is valid, false otherwise.

Remarks

A valid email password should be 5 to 14 characters long, it should contain ASCII characters (with codes 0 to 127) only, and a password shouldn't contain the name of the related email account.