I just need help setting the auth type in pear mail. This is the array I have currently.. auth is set to true, but I need it to be true and set to LOGIN method. Can anyone help me out with the syntax for this?
$smtp = Mail::factory('smtp', array(
'host' => 'ssl://server.net',
'port' => '465',
'auth' => true,
'timeout' => 20,
'username' => 'theusername',
'password' => 'thepassword'
));