This commit is contained in:
wangjinlei
2022-10-24 18:02:57 +08:00
parent 12a00f583c
commit 3ef453e917
3 changed files with 295 additions and 2 deletions

View File

@@ -74,7 +74,8 @@ function sendEmail($email = '', $title = '', $from_name = '', $content = '', $me
$net = Env::get('emailtemplete.net');
$net = str_replace("{{email}}",$memail,$net);
$mail->msgHTML($pre.$content.$net);
// $mail->msgHTML($pre.$content.$net);
$mail->msgHTML($content);
//Replace the plain text body with one created manually
$mail->AltBody = '';
// if (is_array($attachmentFile)) {