24.06.2017, 22:19
(This post was last modified: 24.06.2017, 22:20 by Erwin van der Zwart.)
Hi,
Make sure to enter the credentials inside the mail function (inside common functions), make sure to set DNS and default gateway on your NIC and make sure you gmail account has 'less secure apps' enabled and use this as event based script:
BR,
Erwin
Make sure to enter the credentials inside the mail function (inside common functions), make sure to set DNS and default gateway on your NIC and make sure you gmail account has 'less secure apps' enabled and use this as event based script:
Code:
if event.getvalue() == true then
res, err = mail("chrisbalatis@gmail.com", "subject", "text")
log(res, err)
end
Erwin