Hi @flexi2202
This is what I use and it works ok:
$post = get_post( $post_id );
$title = wp_strip_all_tags(get_the_title($post->ID));
$to = "{$admin_email}";
$subject = "{$blog_title} :: {$title}";
$message = "Your message here";
$headers = array(
'Content-Type: text/html; charset=UTF-8',
#'Bcc:' . '[email protected]',
'From: '.get_option( 'blogname' ).' <[email protected]>'
);
// send email
wp_mail($to, $subject, $body, $headers );
Perhaps alter for your own needs and see if it works.