Common NATS Email Issues:
1. (NATS4 only) Ensure that the NATS mail cron is configured.
*/3 * * * * cd {full NATS path}/processes; {full PHP path} run_mail_queue.php;
2. Ensure that PHP can send mail
If using PHP mail, you can test PHP mail with the following script:
<?php
$to = "ben.warren@toomuchmedia.com";
$subject = "Hi!";
$body = "Hi,\n\nHow are you?";
if (mail($to, $subject, $body)) {
echo("
Message successfully sent!
");
} else {
echo("
Message delivery failed...
");
}
?>
3. Ensure that the email that you expect has a subject configured.
NATS will not send email without a subject configured.