domoticz.email - how to break line?

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
tomes
Posts: 31
Joined: Saturday 07 July 2018 22:08
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Poland
Contact:

domoticz.email - how to break line?

Post by tomes »

Hi,
I`m testing domoticz.email command to send email notification. How to define string as email body with nex line character (ex. \n)?
Of course "\n" doesn`t working.

Tom
User avatar
waltervl
Posts: 5902
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: domoticz.email - how to break line?

Post by waltervl »

Last edited by waltervl on Friday 25 February 2022 22:45, edited 1 time in total.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
tomes
Posts: 31
Joined: Saturday 07 July 2018 22:08
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Poland
Contact:

Re: domoticz.email - how to break line?

Post by tomes »

Thank You. It works.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest