I have openhab2 installed on a raspberry pi 3. I am using paperui and trying to test the sendMail add on and I’m running into an issue I can’t figure out. I installed the mail 1.9 add on via the gui add-ons page. I then created a button with the mail action and typed in this command into the script line of paperui.
sendMail("email@example.com", “from openhab”, “Test1”)
I did configure the mail.cfg file with the correct smtp settings. When I press the action button, I receive no email. I checked the log files and it said error line 1 sendMail is not defined. I am stumped and don’t understand why that command isn’t recognized. The mail v1.9 add on is installed, mail.cfg file is configured. What else am I missing for this email add on to work? Thank you