sendmail for sending email
growlnotify to sending growl notifications
eventcreate for creating windows event log entries
...
e.g. using an external program to send email:
Code: Select all
def paths = rename(...)
paths.each {
def msg = "${it.name} has been added to the library"
execute("sendemail.exe", "-f", "FROM EMAIL ADDRESS", "-t", "TO EMAIL ADDRESS", "-s", "SMTP SERVER:PORT", "-xu", "SMTP USERNAME", "-xp", "SMTP PASSWORD", "-u", msg, "-m", msg)
}