This commit is contained in:
wangjinlei
2022-09-21 13:12:52 +08:00
parent db0a74a0fc
commit 980055ef7e
4 changed files with 34 additions and 6 deletions

View File

@@ -72,6 +72,7 @@ function sendEmail($email = '', $title = '', $from_name = '', $content = '', $me
//组合邮件模板的头尾
$pre = Env::get('emailtemplete.pre');
$net = Env::get('emailtemplete.net');
$net = str_replace("{{email}}",$memail,$net);
$mail->msgHTML($pre.$content.$net);
//Replace the plain text body with one created manually