【发布时间】:2017-10-14 01:42:58
【问题描述】:
我只需要帮助设置梨邮件中的身份验证类型。这是我目前拥有的数组.. auth 设置为 true,但我需要它为 true 并设置为 LOGIN 方法。任何人都可以帮我解决这个问题的语法吗?
$smtp = Mail::factory('smtp', array(
'host' => 'ssl://server.net',
'port' => '465',
'auth' => true,
'timeout' => 20,
'username' => 'theusername',
'password' => 'thepassword'
));
【问题讨论】: