yii 框架用swiftmailer 发送邮件

1.先在配置文件中 config/web.php 中修改配置文件     'mailer' => [ 'class' => 'yii\swiftmailer\Mailer', // send all mails to a file by default. You have to set // 'useFileTransport' to false and configure
相关文章
相关标签/搜索