Skip to content

Commit ed0a2bc

Browse files
committed
mail: reset PHPMailer encoding between wp_mail() calls
1 parent 66f3fa0 commit ed0a2bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/wp-includes/pluggable.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ function wp_mail( $to, $subject, $message, $headers = '', $attachments = array()
358358
$phpmailer->clearReplyTos();
359359
$phpmailer->Body = '';
360360
$phpmailer->AltBody = '';
361+
$phpmailer->Encoding = PHPMailer\PHPMailer\PHPMailer::ENCODING_8BIT;
361362

362363
// Set "From" name and email.
363364

0 commit comments

Comments
 (0)