Page 1 of 1
Sending snapshot give SMTP error with empty recipient
Posted: Sunday 15 January 2017 12:52
by michib
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
Re: Sending snapshot give SMTP error with empty recipient
Posted: Wednesday 18 January 2017 21:31
by Malcolm
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...
Re: Sending snapshot give SMTP error with empty recipient
Posted: Friday 20 January 2017 14:47
by Malcolm
Some further details on thread:
http://www.domoticz.com/forum/viewtopic ... 42#p115242
but still no answers I'm afraid...
Re: Sending snapshot give SMTP error with empty recipient
Posted: Sunday 22 January 2017 17:18
by michib
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.
Re: Sending snapshot give SMTP error with empty recipient
Posted: Tuesday 24 January 2017 12:31
by Malcolm
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.
Re: Sending snapshot give SMTP error with empty recipient
Posted: Saturday 28 January 2017 16:33
by michib
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.