This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

e-mail triggering
#3
Hi,

I've set as advised and made sure the object in of the boolean type, but no e-mail is being sent.

The whole trigger even looks like this:

-- make sure mail settings are set in user function library before using this function
subject = 'THERE IS ALARM'
message = 'THERE IS AN ALARM IN THE SYSTEM- PLEASE LOG IN TO VISUALISATION AND CHECK ALARM PAGE'
mail('mail to which e send', subject, message)

--trigger function

value = event.getvalue()

if value then
send (mail)
end
Reply


Messages In This Thread
e-mail triggering - by RafalBor - 29.04.2021, 12:15
RE: e-mail triggering - by admin - 29.04.2021, 12:16
RE: e-mail triggering - by RafalBor - 29.04.2021, 12:35
RE: e-mail triggering - by admin - 29.04.2021, 12:38
RE: e-mail triggering - by RafalBor - 29.04.2021, 12:42
RE: e-mail triggering - by Daniel - 29.04.2021, 12:46
RE: e-mail triggering - by RafalBor - 29.04.2021, 12:49
RE: e-mail triggering - by admin - 29.04.2021, 12:52

Forum Jump: