deebou9 Posted May 11, 2016 Posted May 11, 2016 If I test the email it works. In my program I send notifications to both text and email; the text is delivered but the email isn't. I test by going to Configurations/EmailsNotifications/SettingsGroups, selecting the 'MyEmail' line, and pressing the 'Test' button -- it works as expected. (I'm using the 'default' mail server.) Here's the program: TestNotif - [iD 0003][Parent 0001] If Status 'ZW 022 On-Off Power Switch' is On Then Set 'ZW 007 On-Off Power Switch' On Send Notification to 'Default' content 'Test' Send Notification to 'MyEmail' content 'FoyerMotion' Else - No Actions - (To add one, press 'Action')
paulbates Posted May 11, 2016 Posted May 11, 2016 If I test the email it works. In my program I send notifications to both text and email; the text is delivered but the email isn't. I test by going to Configurations/EmailsNotifications/SettingsGroups, selecting the 'MyEmail' line, and pressing the 'Test' button -- it works as expected. (I'm using the 'default' mail server.) Here's the program: Does the FoyerMotion content configuration contain text in both the Subject line and the Body? Some email systems takes the absence of either as a spam attempt. Paul
deebou9 Posted May 11, 2016 Author Posted May 11, 2016 (edited) Yes, both subject and body. Could it be that only one 'Send Notification' statement is allowed? I removed the first Send Notification and now it seems to work. And, I added the text as an additional recipient so they both come through now. Edited May 11, 2016 by deebou9
paulbates Posted May 11, 2016 Posted May 11, 2016 (edited) No, you can send as many as you like. I have a couple that send text, email and to another notification service The other possibility is that 'ZW 022 On-Off Power Switch' is only switched on for a few seconds and then switches back off. That would stop the program in its tracks, potentially before the third statement is sent. This seems unlikely, but is possible if there is a motion sensor involved. To test that hypothesis, you could change your 'If' statement: If Control 'ZW 022 On-Off Power Switch' is switched On That would cause the program to run based solely on the event of being switched on, not the state of being switched on. I don't have any zwave, but I believe the same principle should work. Paul Edited May 11, 2016 by paulbates
Recommended Posts