Home Forums Plugins WooCommerce Orders Tracking Is it possible to CC my email when sending tracking info email?

Is it possible to CC my email when sending tracking info email?

  • Author
    Posts
  • #101851

    chris.k
    Participant

    Hi,

    Is it possible to CC my email when syncing AliExpress tracking number and automatically send tracking info email?

    So that I have a proof that I’ve sent the tracking number to customer when fighting the chargeback dispute, so far I have no way to know if I have sent tracking info to customer or not.

    Like I can cc my email when sending order completed email by adding this code to Code Snippets, can I do the same with WooCommerce Orders Tracking?

    function bbloomer_customer_completed_order_email_add_cc_bcc( $headers, $email_id, $order ) {
    if ( ‘customer_completed_order’ == $email_id ) {
    $headers .= “Cc: Mail Backup <myemail@gmail.com>” . “rn”; // del if not needed

    }
    return $headers;
    }`

    Thanks!

    Chris

You must be logged in to see replies to this topic. Click here to login or register