Currently I have this code
$user = get_userdata($voucher_buyer_id);
$to = $user->user_email;
$from_mail = couponxl_get_option( 'email_sender' );
$from_name = couponxl_get_option( 'name_sender' );
$headers[] = "From: ".$from_name." <".$from_mail.">";
which auto-sends an email to the current logged user with purchase details.
how can I BCC the same email to the post author?
Thanks a lot