// email_transport: Mean to send emails: PHPMail (uses the function mail()) or SMTP (implements the client protocole)
// default: ‘PHPMail‘
//‘email_transport‘ => ‘PHPMail‘,
//‘email_transport‘ => ‘SMTP‘,
//‘email_transport_smtp.host‘ => ‘smtp.partner.outlook.cn‘,
//‘email_transport_smtp.port ‘ => ‘587‘,
//‘email_transport_smtp.encryption‘ => ‘tls‘,
//‘email_transport_smtp.username‘ => ‘123@outlook.com‘, //在测试页的from也要写这个邮箱
//‘email_transport_smtp.password‘ => ‘password‘,
‘email_transport‘ => ‘SMTP‘,
‘email_transport_smtp.host‘ => ‘mail.ops.xxxxx.org‘,
‘email_transport_smtp.port‘ => ‘587‘,
//‘email_transport_smtp.encryption‘ => ‘tls‘, //有的需要注释这行,才能发送邮件
‘email_transport_smtp.username‘ => ‘itsm_notification@123.org‘,
‘email_transport_smtp.password‘ => ‘password‘,
本文出自 “魂斗罗” 博客,请务必保留此出处http://990487026.blog.51cto.com/10133282/1761599
原文地址:http://990487026.blog.51cto.com/10133282/1761599