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
domoticz.email - how to break line?
Moderator: leecollings
- 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?
Use \\n
See viewtopic.php?p=216862
See viewtopic.php?p=216862
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
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- 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?
Thank You. It works.
Who is online
Users browsing this forum: No registered users and 1 guest