SMTP::Authenticate
Performs SMTP authentication. Must be run after running the Hello() method. Returns true if successfully authenticated.
Signature
public function Authenticate(string
$username,
[string
$password = 'LOGIN',
[string
$authtype = 'LOGIN',
[string
$realm = '',
[string
$workstation = '']]]] )
Parameters
-
$username
-
$password
-
$authtype
-
$realm
-
$workstation
Returns
- bool