How to set x-priority header = null while using plugin WP e-commerce?
I am looking for the files which are responsible for sending the email in WP e-commmerce, because i need to set the x-priority header = null
I already tried a general function in functions.php
add_filter('phpmailer_init','update_priority_mailer');
function update_priority_mailer($mailer){
$mailer-Priority = '';
return $mailer;
}
but that didn't work
EDIT
I see line 911
$result .= $this-HeaderLine('X-Priority', $this-Priority); in wp-includes\class-phpmailer.php
might be the one that i need to alter. But as i don't want to edit WP source files how can i filter this??
EDIT2
Above function did filter the X-Priority but mail-tester still gives the warning
1.6 XPRIO Has X-Priority header *
Searching where this X-Priority comes from?
Topic headers plugin-wp-e-commerce Wordpress
Category Web