>>Instead of 'auth'=> true, I used 'auth' => "PLAIN" as
>> suggested by a user comment on the Mail documentation page.)
$obj = Mail::factory('smtp',
array ('host' => $host,
'port' => $port,
'auth' => true,
'username' => $username,
'password' => $password));
(Variables are set. $host = "smtp.gmail.com", $port = "465")
>Do you have a mail server running on localhost?
No.
>If you do not have a local MTA then you need to change the
>params so it uses a remote mail server.
It does.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php