作者 邓超

x

@@ -452,7 +452,7 @@ class SyncMail { @@ -452,7 +452,7 @@ class SyncMail {
452 452
453 $body['text_html'][] = [ 453 $body['text_html'][] = [
454 'body' => base64_encode($item->getBody()->getHtml() ? : $item->getBody()->getText()), 454 'body' => base64_encode($item->getBody()->getHtml() ? : $item->getBody()->getText()),
455 - 'type' => 'text/html', 455 + 'type' => $item->getBody()->getHtml()?'text/html':'text/plain',
456 'charset' => 'utf-8', 456 'charset' => 'utf-8',
457 'encode' => 'base64', 457 'encode' => 'base64',
458 ]; 458 ];