Site Tools

 
 
 

notifications

Notifications

“Notifications” in eFrontPro lingo are the communication emails that are sent automatically from the system when specific events take place. eFrontPro comes with a full set of predefined, elegant and powerful notifications. You can also embed notification in branch-specific templates, for a uniform and customized experience.

You can take advantage of expiration reminders and make use of the iCal format, compatible with calendar software (Microsoft Outlook, Thunderbird lightning, Gmail, iOS etc), for sending out training invitations. All out of the box!

List of notification

The Notifications section shows a list of all defined Notifications, and allows you to edit and (de)activate a Notification.

Edit notification

To edit a Notification, click the corresponding Edit icon. You are asked to fill in the recipients, the delivery time, the subject and the body of the email that will be send to the user. Moreover you can distinguish the Subject and Body fields between end users and any other recipients you have chosen above. You can write anything you want for the body, and there are also several keywords such as “date” and “recipient’s name” that you can use, which the system automatically replaces with their proper values.

The Notifications section also contains the “Mail Queue” and “History” tabs, which show pending and previously sent notification emails respectively. To learn more about working with Notifications and customizing messages, visit the How to customize the communication emails chapter.

Make notifications work

In order to make notifications work you have to define a Cron job on your server. Follow these steps on Linux installations

  1. Execute the command “crontab -e” as root, to edit the crontab file
  2. Place the following line inside your crontab file
    */5 * * * * /usr/bin/php /full_path_to_eFrontPro/www/cron.php http://efront.example.com

    where /usr/bin/php is the path to the php executable on the server and the path for cron.php must be defined not from the DocumentRoot folder of installation but as the full path from logical drive. Make sure you specify an additional argument with the full url of your installation, for example http://efront.example.com or https://efront.example.com.

The corresponding process on Windows servers is to create a Scheduled task that run php.exe file appended by arguments /full_path_to_eFrontPro/www/cron.php and http://efront.example.com . In case Schedule task can not run php.exe file you can create a batch file to call the executable with the arguments and modify the scheduled task to run the batch file.

This is a necessary step for notifications into eFrontPro. Without setting up a cron job emails generated from events are not delivered to their recipients and you see them always into Mail Queue tab