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.

mail syntax.
#1
Hello to everyone,
I have a script for sending an email which is
message = 'Server room temperatures is  ' .. tostring(value)
and is working.
Now i want to add a second value and a second text in the same mail. I have tried something like that
message = 'Server room temperatures is  ' .. tostring(value) 'Server room temperatures is  ' .. tostring(value1)
but without success.
The only one that working is this
message = 'Server room temperatures is' .. tostring(value)  .. tostring(value1)
But i want a text between the values.
Any idea?
Thank you in advance.
Reply
#2
Use this:
Code:
message = 'Server room temperatures is ' .. tostring(value) .. '<br>' ..
  'Server room temperatures is  ' .. tostring(value1)
Reply
#3
Thanks, works perfectly.
Reply


Forum Jump: