I am currently running 4.2 and I am now trying to set up e-mail notifications to patients of upcoming appointments. I have gone to: http://www.open-emr.org/wiki/index.php/Sms_and_Email_Notification_Howtos
and followed the instructions.
I added the lines to the crontab file in the /etc folder, but I am not sure of the syntax - image shows what I have added (rms)
I have added - as my e-mail requires SSL
" If I remember right, gmail requires SSL, and we donāt have a global to turn that on. Try adding
$this->SMTPSecure = āsslā;
to line 50 of library/classes/postmaster.php (inside the bracket)."
No luck I guess. SMS I canāt use as we e-mail patients. Sort of fits - I canāt get documents that I select to upload either. Once in a while it works and then not. Has been a fun two months with openEMR.
EMR relies on operating system to send emails. Are cron logs delivered to an external email address? If that works, look at the PHP error logs to diagnose the problem.
Thanks MD support -it looks like a have a syntax error in my cron file (image above) as a I get a syntax error in the syslog file. If you could take a quick look at it that would be great.
If you simply cannot do without email reminders for the office, there is the possibility of installing a VM running Windows 7 as guest. Avoid Windows 10 like the Bubonic Plague. Windows 10 is a gigantic vacuum sucking up personal data of your practice & patients (even with the opt-outs).
Itās impossible to install a VM without the hardware support. See this.
If you have Virtualization Technology in the BIOS, LM had an update for installing VirtualBox 5 this morning. Fairly easy to install VB if you have the Windows 7 install disk. VB documentation is excellent. Arnabās tutorial for setting up email in Mercury Mail is bit more complex. He probably would help if you ask him.
Canāt run OpenEMR in WINE unfortunately, if you donāt have the hardware support.
Far simpler to run OpenEMR in Windows vis-Ć -vis backup, upgrade, reinstall & command line. Sounds heretical, I know.
Is this why when I go into āPatient Remindersā and select āprocess remindersā nothing appears for upcoming appointments? Though there are appointments within the times that I have the 60 h in advance notification set in the e-mail settings. Or is āPatient Remindersā for events that are directed like upcoming pap?
Just a reminder - Appointment reminders are cron based (your upcoming appointment). Then there are rule based reminders (e.g. annual pap). They use different mechanism for selection and delivery. Both of them work in Linux and Windows. Just some tweaking needed based on your email service.
That Patient Reminders is for Meaningful Use as explained here.
Be grateful you are in Canada & not the U.S. where MU is derided as āMeaningless Useā.
Edit 8/15/15
Patient Reminders, however, can be leveraged for your purpose. This module should have been entitled āPatient Recallā to minimize confusion. Unfortunately OpenEMR developers were obligated to follow bureaucratic dictates.
First a Clinical Decision Rule must be created as explained here.
Administration/Globals/Notifications will need to be set up. See attachment.
If you canāt install a VM for Windows, dual-boot is another option.
Will need a quick mechanism to transfer OpenEMR from LM to Windows.
Iāll have to work out how to run the restore script in Windows for the LM emr_backup.tar. Maybe as simple as having both in same folder, hold down Shift, select āRun Command Prompt from hereā & enter restore.
If above suggestions sound like drudgery, the fallback is to send emails without integration with OpenEMR. In Thunderbird the add-on, Mail Merge, will facilitate sending batch emails.
If production copy is breached & email had been integrated, donāt want to make it easy for hackers to contact patients under the disguise of oneās practice.
If someone solved the issue with email sending, please let me know. It worked in the past, but it does not work now. Email automation is a very requested feature.
Also, it would be useful to have a āMail Sending Testā button, because sending mails requires many adjustments, both in sender and receiver.
Thanks!
The Email works fine in openemr. I am sending emails regularly to patients for the following - 1. Patient Appointment reminders (its a cron and goes automatically from the automatic_notification table in database and the best thing is, it can be stylised using html codes). 2. All the patient clinical reminders 3. Patient portal login credentials.
I use Xampp - Mercury Mail for sending Patient appointment reminder email and currently an email update in openemr was done which allows for sending patient clinical reminder emails and portal logins directly from openemr.
I am looking for a viable way to test if messages are going out that is why I went to the batchcom but I have not assurance that it is working or broken.
hMail is sentially the same as Mecury Mail. The configurations are all the same. Just the interfaces are different.
How did you test to know that messages are being sent.?