Did anybody respond to this? I’m having the same problem. here is my code snippet – it is definitely not a loop problem:
$EmailTo = ‘[email protected]’;
$headers[] = “From: Someone Else <[email protected]> “;
$headers[] = “MIME-Version: 1.0 “;
$headers[] = “Content-Type: text/html; charset=UTF-8”;
$Subject = ‘Email Subject’;
if(!wp_mail($EmailTo,$Subject,$Message,$headers)) {
die(“Email failed to send.”);
}
Thanks for any help you can provide!