• Hi

    I’m using this hook

    function my_woocommerce_email_headers( $headers, $email_id, $order ) {
    	if ( 'customer_completed_order' == $email_id ) {
    		$headers .= 'Bcc: myname<[email protected]>' . "\r\n"; 
        }
        return $headers;
    }

    Can your plugin manage this? Because no email was sent to “bcc”, but I can not understand if problem is connected to woocommerce?

    Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @jits04,

    Thanks for reaching out!

    Can you please give us more details? I noticed you only sent us the function you use but not the hook.

    Thank you,
    Beatrice.

    Thread Starter William

    (@jits04)

    add_filter( ‘woocommerce_email_headers’, ‘my_woocommerce_email_headers’, 9999, 3 );

    sorry

    Thread Starter William

    (@jits04)

    if I put “cc” instead of “bcc” it’s work. With “bcc” is not working

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Bcc’ is closed to new replies.