Sending email via SMTP on zend framework

前端 未结 3 1124
没有蜡笔的小新
没有蜡笔的小新 2020-12-11 10:01
$config = array(\'auth\' => \'login\',
                \'username\' => \'****@gmail.com\',
                \'password\' => \'****\',
                \'port\         


        
3条回答
  •  臣服心动
    2020-12-11 10:22

    Its described in the manual of Zendframework

    Zend_Mail::setDefaultTransport($transport);
    

    Then somewhere else instanciate Zend_Mail, write your mail and send it.

提交回复
热议问题