码迷,mamicode.com
首页 > 其他好文 > 详细

itop 使用外部SMTP发出邮件2

时间:2016-04-08 15:37:05      阅读:624      评论:0      收藏:0      [点我收藏+]

标签:itop 使用外部smtp发出邮件2




        // 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

itop 使用外部SMTP发出邮件2

标签:itop 使用外部smtp发出邮件2

原文地址:http://990487026.blog.51cto.com/10133282/1761599

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!