• Resolved jlaski

    (@jlaski)


    I have installed the pro version of the plugin.

    Everything else works great, except the email sending to recipients.

    I have tried disabling the WooCommerce Transactional Email System, no effect on email sending.

    What should I try next?

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jlaski

    (@jlaski)

    I sent you an email.

    Plugin Author pimwick

    (@pimwick)

    Turned out to be a small issue with some custom code. On a related note, this code can be added to functions.php to carbon copy someone for every gift card sent:

    add_filter( 'woocommerce_email_headers', 'custom_cc_email_headers', 10, 3 );
    function custom_cc_email_headers( $header, $email_id, $order ) {
        // Only for "PW Gift Card" email notification
        if( 'pwgc_email' !== $email_id )
            return $header;
     
        // Merge and prepare the data
        $formatted_email = utf8_decode('Your Name <[email protected]>');
     
        // Add Cc to headers
        $headers = array( 
            $headers,
            "Cc: ".$formatted_email ."\r\n",
        );
     
        return $header;
    }

    Change the “Cc:” to “Bcc:” to blind carbon copy instead.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Gift Card Email Not Sending’ is closed to new replies.