How can I add Email Notifications to my solution?
Notifications are built into DayBack, and if you're using FileMaker Server, you'll find this really easy. We have a example script in there that emails resources about appointments coming up in the next x hours. This script can be scheduled to run on FileMaker Server every x minutes and work like a charm. Read through the notes here and then duplicate this set of scripts to use as a model for additional notifications you may need.
First, find the "Email Notifications" folder of scripts and edit the script "Configure Mail Server Settings" to teach the solution about your mail server. Once you think you have the settings correct, run the script "Test Server Configuration" to check it out. You may see an error if you've mistyped something. Keep refining the settings until you get a test message to go though. You'll only have to do this once as all our email notifications use the same settings.
Next, check out the example notification scripts; these really only have two moving parts:
That's it. Once you have these calcs the way you like them, you can create a schedule on FileMaker Server to run the notification every so often. You'll have the server run the "main" script: in this example it's "Email Notification 1 - Notify Resources of Upcoming Events".
How do I create a Schedule in FileMaker Server?
This is very easy, but beyond the scope of our docs. You'll find step-by-step instructions here (look at page 52 or just search for "script"):
Can I run notifications if I don't have Server?
Yes, but get Server. Your data deserves it.
To run this without server you can always use a "robot" machine: a FileMaker client running a plugin that can triggers scripts every X minutes. If you're thinking about this... get Server. Seriously.
If you want to run the notifications on FileMaker client--as soon as an event is edited, for example-- this can be done, but the user will feel a little pause as the event is emailed out.
Here is how to implement this...
SMS: Can I send SMS instead of email notifications
Yes. The email described above can easily be an SMS if you know the recipient's carrier. For example, if the recipient is on AT&T, sending them an SMS is done by emailing firstname.lastname@example.org
All the major carriers work this way and you can find a list here: https://martinfitzpatrick.name/list-of-email-to-sms-gateways/
If you'd like to go further and customize the message format (SMS messages sent via email have "FRM" for from and "SUB" for subject), or you'd like people to be able to reply to these messages and have these replies cause actions in FileMaker, we can help you do stuff like that by connecting FileMaker to the message service Twilio. Lots of possibilities there.
If you need help writing additional notifications, Twilio integration, or automating processes in your solution, get in touch and we can discuss the mods you're interested in and get you a quote.