0
我只需要帮助设置梨邮件中的auth类型。这是我目前的数组.. auth设置为true,但我需要它是真实的,并设置为LOGIN方法。任何人都可以帮我解决这个问题的语法吗?如何设置梨邮件中的auth方法
$smtp = Mail::factory('smtp', array(
'host' => 'ssl://server.net',
'port' => '465',
'auth' => true,
'timeout' => 20,
'username' => 'theusername',
'password' => 'thepassword'
));
谢谢!认为这应该是,但这样做并没有解决我的认证问题,所以怀疑自己。 – John