Hello,
I've just set up email notification, which generally works (test mail, error messages, etc.).
However, sending camera snapshot does not work. I get the error "Error: SMTP Mailer: Error sending Email to: !"
This happens in a blockly event, if the Action "Send camera snapshot..." is used or when associating a Switch/Device with the camera.
Seems that the handler of this action does not know the recipient address.
Any ideas?
Michael
--------------------
Version: 3.5877
Build Hash: 15b013c
Compile Date: 2016-11-10 16:44:33
OS: Rasbian
Sending snapshot give SMTP error with empty recipient
Moderator: leecollings
-
- Posts: 7
- Joined: Wednesday 18 January 2017 18:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5877
- Contact:
Re: Sending snapshot give SMTP error with empty recipient
I have a similar problem and have posted elsewhere to gain help. I have found that altering the ImageURL setting can result in an email actually being sent but with an empty Snapshot.jpg file attached and at the same time the video feed and image download from the camera list page stop working! But it does show that there is some code in there trying!
I don't understand why changing the ImageURL setting has an effect on the video streaming aspect?
Anyhow, I expect these issues are all related and let's hope someone can come to the rescue...
I don't understand why changing the ImageURL setting has an effect on the video streaming aspect?
Anyhow, I expect these issues are all related and let's hope someone can come to the rescue...
------------------------------------------
RasPi 3 - Zwave+ - RFXtrx433E
Domoticz 3.5877
Alexa & Harmony
RasPi 3 - Zwave+ - RFXtrx433E
Domoticz 3.5877
Alexa & Harmony
-
- Posts: 7
- Joined: Wednesday 18 January 2017 18:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5877
- Contact:
Re: Sending snapshot give SMTP error with empty recipient
Some further details on thread:
http://www.domoticz.com/forum/viewtopic ... 42#p115242
but still no answers I'm afraid...
http://www.domoticz.com/forum/viewtopic ... 42#p115242
but still no answers I'm afraid...
------------------------------------------
RasPi 3 - Zwave+ - RFXtrx433E
Domoticz 3.5877
Alexa & Harmony
RasPi 3 - Zwave+ - RFXtrx433E
Domoticz 3.5877
Alexa & Harmony
-
- Posts: 6
- Joined: Sunday 15 January 2017 12:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5877
- Contact:
Re: Sending snapshot give SMTP error with empty recipient
Hey Malcolm,
thanks for digging into it.
If no mail is sent in your case, does the log reports "Error: SMTP Mailer: Error sending Email to: !"?
Just to be sure it appears as the same error.
My imageURL is just snapshot.cgi. In the camera menu, I can both see or download snapshots or see the stream. However, in the edit settings dialog, when testing the connection, a snapshot appears briefly and then a broken link icon is shown.
thanks for digging into it.
If no mail is sent in your case, does the log reports "Error: SMTP Mailer: Error sending Email to: !"?
Just to be sure it appears as the same error.
My imageURL is just snapshot.cgi. In the camera menu, I can both see or download snapshots or see the stream. However, in the edit settings dialog, when testing the connection, a snapshot appears briefly and then a broken link icon is shown.
-
- Posts: 7
- Joined: Wednesday 18 January 2017 18:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5877
- Contact:
Re: Sending snapshot give SMTP error with empty recipient
OK, have played some more with the system and yes, when no email came through I was getting
"Error: SMTP Mailer: Error sending Email to: !"
in the logs.
All a bit odd as there are times when an email would come through and others when it would not.
However, I eventually moved to a different SMTP service. But anyhow, it now works!
I suggest trying a different SMTP path.
"Error: SMTP Mailer: Error sending Email to: !"
in the logs.
All a bit odd as there are times when an email would come through and others when it would not.
However, I eventually moved to a different SMTP service. But anyhow, it now works!
I suggest trying a different SMTP path.
------------------------------------------
RasPi 3 - Zwave+ - RFXtrx433E
Domoticz 3.5877
Alexa & Harmony
RasPi 3 - Zwave+ - RFXtrx433E
Domoticz 3.5877
Alexa & Harmony
-
- Posts: 6
- Joined: Sunday 15 January 2017 12:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5877
- Contact:
Re: Sending snapshot give SMTP error with empty recipient
I did as you suggested and changed, again, the smtp server. Now it works.
However, this behavior is strange. I tested 3 servers before, among others web.de and gmx.de, and it did not work.
Now, using the smtp of my NAS did the trick.
Note that other email notifications such as errors worked with every server I tested.
However, this behavior is strange. I tested 3 servers before, among others web.de and gmx.de, and it did not work.
Now, using the smtp of my NAS did the trick.
Note that other email notifications such as errors worked with every server I tested.
Who is online
Users browsing this forum: No registered users and 0 guests