• Hi,Email notifications going to moderators show all the moderator’s email address in the “To” section.
    I would rather hide the email addresses for privacy.
    Is there a way to use BCC, or another system, so that moderator’s emails aren’t revealed to each other?

    Thank you,
    Sam

Viewing 1 replies (of 1 total)
  • Thread Starter samtime

    (@samtime)

    I found some information about using BCC for WordPress emails.
    Would modifying this WooCommerce code to make it relevant for the Moderator Notifications work…

    /**
     * @snippet       Add Cc: or Bcc: Recipient @ WooCommerce Completed Order Email
     * @how-to        Get CustomizeWoo.com FREE
     * @author        Rodolfo Melogli
     * @compatible    WooCommerce 3.8
     * @donate $9     https://businessbloomer.com/bloomer-armada/
     */
     
    add_filter( 'woocommerce_email_headers', 'bbloomer_order_completed_email_add_cc_bcc', 9999, 3 );
     
    function bbloomer_order_completed_email_add_cc_bcc( $headers, $email_id, $order ) {
        if ( 'customer_completed_order' == $email_id ) {
            $headers .= "Cc: Name <[email protected]>" . "\r\n"; // del if not needed
            $headers .= "Bcc: Name <[email protected]>" . "\r\n"; // del if not needed
        }
        return $headers;
    }

    https://businessbloomer.com/woocommerce-add-to-cc-bcc-order-email-recipients/

Viewing 1 replies (of 1 total)
  • The topic ‘Notification Emails Reveal all Email Address’ is closed to new replies.