Added back headers Closes #635.
This commit is contained in:
parent
38609b3365
commit
d9b4307009
|
@ -93,7 +93,7 @@ class WC_Email {
|
||||||
return $message;
|
return $message;
|
||||||
}
|
}
|
||||||
|
|
||||||
function send( $to, $subject, $message, $headers = "", $attachments = "" ) {
|
function send( $to, $subject, $message, $headers = "Content-Type: text/html\r\n", $attachments = "" ) {
|
||||||
add_filter( 'wp_mail_from', array(&$this, 'get_from_address') );
|
add_filter( 'wp_mail_from', array(&$this, 'get_from_address') );
|
||||||
add_filter( 'wp_mail_from_name', array(&$this, 'get_from_name') );
|
add_filter( 'wp_mail_from_name', array(&$this, 'get_from_name') );
|
||||||
add_filter( 'wp_mail_content_type', array(&$this, 'get_content_type') );
|
add_filter( 'wp_mail_content_type', array(&$this, 'get_content_type') );
|
||||||
|
|
Loading…
Reference in New Issue