Reply To: [Resolved] Send a copy of every message to admin
Try this, replace the Bcc with your email:
function arc_wp_mail_filter( $args ) {
$args['headers'][] = 'Bcc: <admin@yoursite.com>';
$new_wp_mail = array(
'to' => $args['to'],
'subject' => $args['subject'],
'message' => $args['message'],
'headers' => $args['headers'],
'attachments' => $args['attachments']
);
return $new_wp_mail;
}
add_filter( 'wp_mail', 'arc_wp_mail_filter' );