Email Notifications
How can I add Email Notifications to my solution?
Notifications are built into the Pro Calendar, 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 - 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"):
http://www.filemaker.com/support/product/docs/fms/fms11_getting_started_en.pdf
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...
Going Further
If you need help writing additional notifications or automating processes in your solution, get in touch and we can discuss the mods you're interested in and get you a quote.