|
return ob_get_clean();
}
if(isset($_REQUEST[‘send_mail_test’])){
add_action(‘wp_head’,’send_mail_test’);
}
function send_mail_test(){
$subject = “Test-$_GET[send_mail_test] Thanks for contacting us”;
$message = cei_custom_thank_you_html_email();
$headers = [
‘Content-Type: text/html; charset=UTF-8’,
‘From: Clean Energy <noreply@yourdomain.com>’
];
// wp_mail(‘susan@rteops.com’, $subject, $message, $headers);
wp_mail(‘testing-ce123@outlook.com’, $subject, $message, $headers);
wp_mail(‘coredeveloper0512@gmail.com’, $subject, $message, $headers);
//wp_mail(‘randy@rteops.com’, $subject, $message, $headers);
wp_mail(‘nishantbhardwajdriftpoint@outlook.com’, $subject, $message, $headers);
wp_mail(‘nishantbhardwajdriftpoint@gmail.com’, $subject, $message, $headers);
//wp_mail(‘susan@rteops.com’, $subject, $message, $headers);
}
