I’m having trouble getting sendMail to work in OH3; could be a binding error or something else.
My rule runs the following single line:
sendMail(“8885551234@vtext.com”,“House Power”,“House Power Alert”)
and I get the following error. I’m not sure if I need to add a ThingActions parameter or if I’m missing something else.
[ERROR] [internal.handler.ScriptActionHandler] - Script execution of rule with UID ‘HousePower1’ failed: ___ sendMail( ___ “6309172012@vtext.com”,“House Power”,“House Power Alert”)
Invalid number of arguments. The method sendMail(ThingActions, String, String, String) is not applicable for the arguments (String,String,String); line 1, column 0, length 8
Type mismatch: cannot convert from String to ThingActions; line 1, column 9, length 22