email don't work
Moderators: leecollings, remb0
Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.
Use the following template when posting here:
Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....
If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly
If you are replying, please do not quote images/code from the first post
Please mark your topic as Solved when the problem is solved.
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.
Use the following template when posting here:
Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....
If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly
If you are replying, please do not quote images/code from the first post
Please mark your topic as Solved when the problem is solved.
-
Filnet
- Posts: 83
- Joined: Tuesday 06 March 2018 13:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2026.1 ß
- Location: FR
- Contact:
email don't work
Hello,
"domoticz.email" was working fine until early February. But strangely, no emails have been sent since. I haven't changed any settings. The "Test" function in the settings works correctly. Thinking it might be a problem with my ISP, I changed the email address, but it didn't help.
A Python script on the same Raspberry Pi sends emails correctly using the original address. What's the problem?
Notice that I stay in beta 17099, due to recent problem with the beta versions.
Thank you
"domoticz.email" was working fine until early February. But strangely, no emails have been sent since. I haven't changed any settings. The "Test" function in the settings works correctly. Thinking it might be a problem with my ISP, I changed the email address, but it didn't help.
A Python script on the same Raspberry Pi sends emails correctly using the original address. What's the problem?
Notice that I stay in beta 17099, due to recent problem with the beta versions.
Thank you
- waltervl
- Posts: 7005
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2026.3
- Location: NL
- Contact:
Re: email don't work
You mean dzvents domoticz.email function?
What if you send a simple email from dzvents without for example attachments?
It is known that some ISP's do not support multi form html emails (used for attachments): viewtopic.php?t=44359
What if you send a simple email from dzvents without for example attachments?
It is known that some ISP's do not support multi form html emails (used for attachments): viewtopic.php?t=44359
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
-
Filnet
- Posts: 83
- Joined: Tuesday 06 March 2018 13:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2026.1 ß
- Location: FR
- Contact:
Re: email don't work
Code: Select all
return {
on = { timer = {'Every minute'},},
execute = function(domoticz, triggeredItem)
print('------> Hello')
domoticz.email('', '', '[email protected]')
domoticz.email('aa', 'bb', [email protected]')
domoticz.email('', '', '[email protected]')
domoticz.email('aa', 'bb', '[email protected]')
end
}No email received.
- jvdz
- Posts: 2476
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: email don't work
Did you properly define the Server/Port/Userid/Password to use for your provider and send succesfully a test mail from the config screen?
-
Filnet
- Posts: 83
- Joined: Tuesday 06 March 2018 13:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2026.1 ß
- Location: FR
- Contact:
Re: email don't work
@ jvdz
Thank you for your reply.
As I said in my previous message, I have already tested sending emails from the configuration screen and it works perfectly.
Important note: I have a second Domoticz installation in another residence and domoticz.email() stopped working at the same time (site 30 km away, different username and email address).
Thank you for your reply.
As I said in my previous message, I have already tested sending emails from the configuration screen and it works perfectly.
Important note: I have a second Domoticz installation in another residence and domoticz.email() stopped working at the same time (site 30 km away, different username and email address).
-
Filnet
- Posts: 83
- Joined: Tuesday 06 March 2018 13:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2026.1 ß
- Location: FR
- Contact:
Re: email don't work
Now, with the new beta release, domoticz.mail() works but the message text don't accept \r or \n . These escape characters are forgotten in the send message.
-
Kedi
- Posts: 622
- Joined: Monday 20 March 2023 14:41
- Target OS: Linux
- Domoticz version: latest
- Location: Somewhere in NL
- Contact:
Re: email don't work
Try testing with <br> and/or <p> inplace of the \r \n
Logic will get you from A to B. Imagination will take you everywhere.
-
Filnet
- Posts: 83
- Joined: Tuesday 06 March 2018 13:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2026.1 ß
- Location: FR
- Contact:
Re: email don't work
Thank you Kedi,
It works well, now.
It works well, now.