Skip to content

Commit

Permalink
Set from_email to no-reply@ for the raw email to be similar to the pl…
Browse files Browse the repository at this point in the history
…ain email
  • Loading branch information
Nikschavan committed Jul 10, 2020
1 parent 6f0c0b4 commit f18904b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/class-ses.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ protected function get_raw_message( $to, $subject, $message, $headers = [], $att
$sitename = substr( $sitename, 4 );
}

$from_email = 'wordpress@' . $sitename;
$from_email = 'no-reply@' . $sitename;

// If custom from address is not present in header, generate it.
if ( ! $custom_from ) {
Expand Down

0 comments on commit f18904b

Please sign in to comment.