We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f132c57 commit f26fe72Copy full SHA for f26fe72
1 file changed
src/wp-includes/pluggable.php
@@ -445,6 +445,7 @@ function wp_mail( $to, $subject, $message, $headers = '', $attachments = array()
445
446
try {
447
// This block should be removed once PHPMailer supports setting the envelope sender separately.
448
+ // @see https://core.trac.wordpress.org/ticket/64368.
449
$auto = ! str_contains( $sendmail_path, ' -f' );
450
$phpmailer->setFrom( $from_email, $from_name, $auto );
451
} catch ( PHPMailer\PHPMailer\Exception $e ) {
0 commit comments