I got my instance setup sending email notifications with mailgun, that works fine I’ve already tested it and it successfully sends any of the default reminders after I enable it in: Administration > Practice > Rules
What I can’t figure out is how to send appointment reminders, I’ve made an appointment for a patient and I expect it to send them an email notification once the appointment is scheduled.
I added this to my cron as it specifies in the wiki:
* */1 * * * /var/www/html/openemr/modules/sms_email_reminder/cron_sms_notification.php
* */1 * * * /var/www/html/openemr/modules/sms_email_reminder/cron_email_notification.php
But I never receive any notifications, whats interesting is the apache log says this:
sendmail: can't connect to remote host (127.0.0.1): Connection refused` but I'm not using sendmail.
I have also tried sending emails via the batchcomm tool but that also gives me this error:
Could not send email due to a server problem. 1 emails not sent
When I go to Administration > Patient Reminders I have no appointment reminders queued up to send & process.
Is there another undocumented step I need to do? I just find it weird it works with any of the other reminder rules but not appointment reminders.