Thread Starter
tdk09
(@tdk09)
Update: downgraded to 2.7, and now the cancelled orders sent automatically again.
Furthermore, I noticed an update in the Reply-to of new order mails to reply to the name and mail of the customers directly:
public function get_headers() {
$header = “Content-Type: ” . $this->get_content_type() . “\r\n”;
if ( ‘new_order’ === $this->id ) {
$header .= ‘Reply-to: ‘ . $this->object->get_billing_first_name() . ‘ ‘ . $this->object->get_billing_last_name() . ‘ <‘ . $this->object->get_billing_email() . “>\r\n”;
}
return apply_filters( ‘woocommerce_email_headers’, $header, $this->id, $this->object );
}
If you would like to reset it to the old version go ahead and replace with:
public function get_headers() {
return apply_filters( ‘woocommerce_email_headers’, “Content-Type: ” . $this->get_content_type() . “\r\n”, $this->id, $this->object );
}
-
This reply was modified 8 years, 9 months ago by tdk09.