Mail action has changed since v1, which one are you using?
What makes you think this is the offending line? These kinds of messages are a nuisance in not giving you many clues!
This error is usually from trying to access an invalid position in an array/list. As @rossko57 said, I don’t think what you posted is what causes the error. Can you post the whole rule?
Yeap thanks. This copying and pasting is gonna kill me changing all my rules over.
The fix is…sendmail is different than my current version. I didn’t use mail.Actions.sendMail.
Syntax to use it is:
mailActions.sendMail(“bla@bla.com”, “CameraSnaps Initiated”, " " + now.getMonthOfYear + “/” + now.getDayOfMonth + " | " + now.getHourOfDay + “:” + now.getMinuteOfHour + " ")