How to put newline in dzVents notification email

Easy to use, 100% Lua-based event scripting framework.
Post Reply
lazyoldjack
Posts: 4
Joined: Saturday 19 November 2016 12:24
Target OS: Raspberry Pi
Domoticz version:
Contact:

How to put newline in dzVents notification email

Post by lazyoldjack » Tuesday 17 October 2017 12:06

So, how can I put a VISIBLE newline into the email that I send?

Because the emails arrive as HTML I tried <br/> but that gets encoded as &ltbr/&gt; so just shows as <br/>.

So I tried \n which DOES put in a newline BUT, of course, the HTML masks that (though it DOES appear in the pushbullet at least)

Any thoughts/help would be welcomed! :D

elgringo
Posts: 127
Joined: Thursday 18 May 2017 8:08
Target OS: Raspberry Pi
Domoticz version: Left
Contact:

Re: How to put newline in dzVents notification email

Post by elgringo » Thursday 10 May 2018 8:00

Figured out how to do this? If so enlighten me :)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest