Skip to content

Conversation

@aadlung
Copy link

@aadlung aadlung commented Sep 2, 2020

Removed the false of $phpmailer->setFrom( $from_email, $from_name, false ) which is the $auto parameter of PhpMailer to also set the Sender address to the same value the From address has been specified.
Currently, the false leads to some www-data sending addresses on default domains which are marked as spam. For sure, it depends on the hosting or sendmail configuration - but the default would be better.

Trac ticket: https://core.trac.wordpress.org/ticket/51206


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

Removed the `false` of `$phpmailer->setFrom( $from_email, $from_name, false )` which is the  `$auto` parameter of PhpMailer to also set the Sender address to the same value the From address has been specified
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant