Is there a way to add a filter in my functions.php in order to add BCC every time the wp_mail is called?
Thank you
Is there a way to add a filter in my functions.php in order to add BCC every time the wp_mail is called?
Thank you
Anyone?
I need to do the same. Based on a quick glance through the wp_mail() function (http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/pluggable.php) it seems that it might be possible to do via the headers section. I haven't quite gotten my head around how to do it yet, but I think it might be possible via the headers argument.
I thought so too.
Still haven't figured out the way, though. Even if i hard code it in pluggable.php or in the plugin that calls it, i believe it is removed in some point before submitted.
This topic has been closed to new replies.