Email Documentations

paanii13 wrote on Sunday, May 22, 2011:

I have followed all the available email notifications/patient reminders documentations and I am still unable to send emails directly from openemr. However my mercury works. Is anyone willing to share their email php files?

octort wrote on Tuesday, May 24, 2011:

Hello paanii13, I am trying to make email remainders to work too. So far, no good. How Mercury email works?

saleemf wrote on Thursday, May 26, 2011:

HI Guys,

Getting Mercury to work for sedning emails is easy.

The tough part is getting the crontab part of it working so that it automatically send the emails as and when required.

The problem as I have learnt from many hours of playing with this is that php does not run the file form the DOS Command Prompt in Windows.

If you can get php to run from the command prompt then i can show you how to automate the whole process.

The command you need to run for automating the email is as follows - PLEASE NOTE THIS IS FOR WINDOWS ONLY.

c:\xampp\php\php.exe c:\xampp\htdocs\openemr\modules\sms_email_reminder\cron_email_notification.php

The command runs without any error but it does not run the script inside the cron_email_notification.php

God Bless

Saleem