Get WooCommerce Mail copy on Specific Mail id

If you customized your WooCommerce WordPress mail template design and or added specific content and now want to see how exactly it going to user?
Few ways to see your website sending Mail are ?
1. Use Preview E-mails for WooCommerce
2. Do test order and see mail
3. Add few lines code and get all WooCommerce Mail copy on your specific Mail ID.

Following are some sample code by using it you able to change Mail sending header and adding your Specific mail id as BCC: you will get all Copy of Mail when-ever any WooCommerce mail sending from your website - mail either sending to customer on New order, Order status change or any notification Mail to Store administrator.

1. if you want to get a copy of all WooCommerce mail, add following code in your active theme functions.php file :

add_filter( 'woocommerce_email_headers', 'ls_get_woocommerce_all_mail_copy', 10, 2);
function woocommerce_email_bcc_copy( $headers, $email ) {
    $headers .= 'BCC: Your name <>' . "\r\n"; //if want email copy on more email id than just repeat this line and add another Mail id in BCC:
    return $headers;

2. if you want to get a copy of Specific WooCommerce mail, use condition and set only specific email_id on which you want to receive mail copy.
For example if you want to receive Email copy of Order completed than us 'customer_completed_order'

add_filter( 'woocommerce_email_headers', 'ls_get_woocommerce_completed_order_email_copy', 10, 2);
function ls_get_woocommerce_completed_order_email_copy( $headers, $email ) {
    if ($email == 'customer_completed_order') {
        $headers .= 'BCC: Your name <>' . "\r\n"; 
    return $headers;

3. If you want to get a copy of number of specific WooCommerce mail than use in_array and set all Email ID for which you want to get mail copy on your specific Email Inbox.

add_filter( 'woocommerce_email_headers', 'ls_get_woocommerce_specific_emails_copy', 10, 2);
function ls_get_woocommerce_specific_emails_copy( $headers, $email ) {
    if ( in_array( $email, array('customer_completed_order', 'customer_processing_order') ) ) {
        $headers .= 'BCC: Your name <>' . "\r\n";
    return $headers;

List of values for different Email IDs are :
New Order: new_order
Cancelled Order: cancelled_order
Customer Invoice: customer_invoice
Customer Note: customer_note
Order On hold: customer_on_hold_order
Processing Order: customer_processing_order
Refunded Order: customer_refunded_order
Failed Order: failed_order
Completed Order: customer_completed_order

New Account: customer_new_account
Reset Password: customer_reset_password