This commit is contained in:
wangjinlei
2022-08-21 15:47:34 +08:00
parent cfac81c806
commit 4dd8910aaa
4 changed files with 141 additions and 4 deletions

View File

@@ -2,6 +2,7 @@
use PHPMailer\PHPMailer\PHPMailer;
use think\Db;
use think\Env;
//use TCPDF;
// +----------------------------------------------------------------------
@@ -328,7 +329,10 @@ function aliemail($email,$title,$content){
vendor('aliemail.email');
$mailto=$email;
$mailsubject=$title;
$mailbody=$content;
//组合邮件公共样式
$pre = Env::get('emailtemplete.pre');
$net = Env::get('emailtemplete.net');
$mailbody=$pre.$content.$net;
$smtpserver = "smtpdm-ap-southeast-1.aliyun.com";
$smtpserverport = 80;
$smtpusermail = "propa@hellotmr.top";