<?php namespace app\admin\controller; use think\Controller; use think\Request; use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; class Mail extends Controller { public function test(){ $info=$this->sendMail('434922813@qq.com','邮件…