Skip to Content
0
Former Member
May 22, 2014 at 04:49 PM

Script to send mail notifications

36 Views

Hi experts!

I've been asked to send an email to a certain group of users whenever a certain date from an Agreement extension is about to end.

My question is the following:

How can I achieve this via BeanShell Script? (If is achievable trough scripting) The biggest question that I have is to tell the script to know when the date is about to end, because I think it is a script that needs to be running every certain amount of time (or daily) to check the date status, and if the date is about to end then to send the mail.

What kind of objects should I reference to achieve this?

Thanks in advance.