automatic email when a date is changed

Support, Questions and Suggestions for the FM7 Version of CC Calendar.
Posts: 71
Joined: Thu Aug 10, 2006 1:00 am
Location: Switzerland
PostPosted: Tue Jan 26, 2010 4:49 am
Hi,

I would like to add a script to CCCalendar that would send out an automatic email to certain addresses to tell them when an appointment has been created or modified. In my case it would filtered to work only when certain "types" of appointments are created or modified. Would someone be able to give me a few pointers for this one?
Posts: 135
Joined: Fri Sep 28, 2007 3:09 pm
Location: UK
PostPosted: Tue Jan 26, 2010 5:25 am
What you could do is store the original date / time into a variable when during the script which edits / creates the appointment

Then during the script which runs when saving / closing the appointment add something like this :


Code: Select all
If [ $$orig_date ≠ appt_date  and $$orig_time ≠ appt_time and ( appt_type = "Type1" or appt_type = "Type2" )  ]

   Perform Script [ Send Email Script Here ]

[End If]


P.S I dont use the same version of the calendar so I apologise that I did not refer to the actual field names or scripts that it uses.
Steve Wright
SWS Solutions
Posts: 71
Joined: Thu Aug 10, 2006 1:00 am
Location: Switzerland
PostPosted: Wed Jan 27, 2010 3:14 am
Great. Thanks for that. I shall try and find the appropriate scripts and field names

Return to CC Calendar (FM7/8)

Who is online

Users browsing this forum: No registered users and 2 guests

(855) SEEDCODE
[email protected]
Follow us: