摘要: 1.不管是配置哪类邮箱,都需要先开启stmp服务 2.在main.php配置文件中添加配置 //配置邮件 'mailer' => [ 'class' => 'yii\swiftmailer\Mailer', 'viewPath' => '@common/mail', 'useFileTranspor 阅读全文
posted @ 2018-03-06 11:16 夜阑听雨23 阅读(179) 评论(0) 推荐(0) 编辑