Page 1 of 1

lua snapshot to only ONE email

Posted: Friday 21 August 2020 22:38
by tiga
i have set up 2 email accounts in my email setup.but in one lua script i want to send a snapshot to only ONE account.
is that even possible?

i have setup this silly test script but i can not get it to work

Code: Select all

commandArray = {}

x = uservariables["postteller"]

if devicechanged['lamp schuur'] == 'On' then
    print ("aantal poststukken:"..tostring(x))
    commandArray['SendCamera:5'] = 'er is post bezorgd.aantal poststukken:' .. tostring(x) .. '#[email protected]'

end


return commandArray
this script sends the mail to both accounts and not just [email protected]
is it possible to send it to only one email?

Re: lua snapshot to only ONE email

Posted: Tuesday 22 September 2020 20:16
by tiga
anyone ??