Page 1 of 1

Better email stopped working after upgrading Indigo to 7.4

PostPosted: Mon Jul 13, 2020 5:05 pm
by bjmouton
I was running BEM v7.2.4 with Indigo 7.3 and all was working just fine. Since upgrading to Indigo 7.4, BEM quit working. I upgraded BEM to v7.2.9 and that did not fix the problem. I've restarted the plugin with no success. I use the plugin only to send emails to my SMTP server and my server settings are correct. Indigo server OS is v10.14.6

Re: Better email stopped working after upgrading Indigo to 7

PostPosted: Mon Jul 13, 2020 5:49 pm
by FlyingDiver
Better Email works just fine with Indigo 7.4. So whatever problem you're having is not specific to Indigo 7.4

I can't do anything without debug logs. Turn on debug level logging and send an email.

Re: Better email stopped working after upgrading Indigo to 7

PostPosted: Mon Jul 13, 2020 8:13 pm
by bjmouton
Below is text from log after manually triggering an event (four times)

Trigger Interface Failure
Better Email SMTP email Server: Sending email 'Indigo Interface Failure' to 'billy.mouton@cox.net'
Trigger Interface Failure
Better Email SMTP email Server: Sending email 'Indigo Interface Failure' to 'billy.mouton@cox.net'
Trigger Interface Failure
Better Email SMTP email Server: Sending email 'Indigo Interface Failure' to 'billy.mouton@cox.net'
Trigger Interface Failure
Better Email SMTP email Server: Sending email 'Indigo Interface Failure' to 'billy.mouton@cox.net'

Re: Better email stopped working after upgrading Indigo to 7

PostPosted: Mon Jul 13, 2020 8:27 pm
by FlyingDiver
You need to go into the plugin configuration dialog and turn on debug logging.

Re: Better email stopped working after upgrading Indigo to 7

PostPosted: Mon Jul 13, 2020 8:51 pm
by bjmouton
Here it is again...

Code: Select all
Jul 13, 2020 at 21:48:56
   Better Email Debug              validatePrefsConfigUi called
   Trigger                         Interface Failure
   Better Email Debug              sendEmailAction queueing message 'Indigo Interface Failure'
   Better Email Debug              SMTP email Server: SMTP poll, 1 items in queue
   Better Email                    SMTP email Server: Sending email 'Indigo Interface Failure' to 'billy.mouton@cox.net'
   Trigger                         Interface Failure
   Better Email Debug              sendEmailAction queueing message 'Indigo Interface Failure'
   Better Email Debug              SMTP email Server: SMTP poll, 1 items in queue
   Better Email                    SMTP email Server: Sending email 'Indigo Interface Failure' to 'billy.mouton@cox.net'
   Trigger                         Interface Failure
   Better Email Debug              sendEmailAction queueing message 'Indigo Interface Failure'
   Better Email Debug              SMTP email Server: SMTP poll, 1 items in queue
   Better Email                    SMTP email Server: Sending email 'Indigo Interface Failure' to 'billy.mouton@cox.net'

Jul 13, 2020 at 21:49:41
   Trigger                         Interface Failure
   Better Email Debug              sendEmailAction queueing message 'Indigo Interface Failure'
   Better Email Debug              SMTP email Server: SMTP poll, 1 items in queue
   Better Email                    SMTP email Server: Sending email 'Indigo Interface Failure' to 'billy.mouton@cox.net'
   Error                           email send connection failed
   Error                           email re-send scheduled in 10 minutes
   Trigger                         Interface Failure
   Better Email Debug              sendEmailAction queueing message 'Indigo Interface Failure'
   Better Email Debug              SMTP email Server: SMTP poll, 1 items in queue
   Better Email                    SMTP email Server: Sending email 'Indigo Interface Failure' to 'billy.mouton@cox.net'

Re: Better email stopped working after upgrading Indigo to 7

PostPosted: Mon Jul 13, 2020 8:57 pm
by FlyingDiver
I see one error, and it looks like it retried that message. No errors on all the other messages. So why do you think it's not working?

Actually, I take that back. There's an error there, but it's not coming from the plugin. I think it's coming from Indigo's built in email sender.

Re: Better email stopped working after upgrading Indigo to 7

PostPosted: Mon Jul 13, 2020 9:13 pm
by bjmouton
I say it's not working because I'm not receiving emails. Was not getting error in log until I enabled debugging in plugin. Action is configured to Better email device.

Re: Better email stopped working after upgrading Indigo to 7

PostPosted: Tue Jul 14, 2020 6:34 am
by FlyingDiver
I'm not sure what to tell you. Those two lines don't have "Better Email" at the beginning, so they're not coming from the plugin. And I checked - the plugin does not have those text strings anywhere in the code. And they're not in the Python library that's actually connecting to the SMTP server (as best I can tell). Maybe Matt or Jay have some insight into where those two messages are coming from.

Maybe there's a clue in the plugin specific log. It's located at:
Code: Select all
/Library/Application Support/Perceptive Automation/Indigo 7.4/Logs/com.flyingdiver.indigoplugin.betteremail/plugin.log


Can you zip up that file and either post it here or PM it to me?

Re: Better email stopped working after upgrading Indigo to 7

PostPosted: Tue Jul 14, 2020 7:10 am
by bjmouton
Here are the requested logs...

Thanks

Re: Better email stopped working after upgrading Indigo to 7

PostPosted: Tue Jul 14, 2020 7:50 am
by FlyingDiver
Unfortunately, there's no new information in those logs. No errors detected by the plugin at all. Not even those two error messages in the main Indigo log.

I believe the emails are getting sent, but are not making it to your Inbox. Are you receiving other emails at that address? Have you checked the spam filter or junk folder?

Have you tried sending email from Indigo to a different email address?

Re: Better email stopped working after upgrading Indigo to 7

PostPosted: Tue Jul 14, 2020 8:26 am
by bjmouton
I changed it to a gmail account and it worked. I am not sure what happened to my cox account because it was working with it before and everything else with my cox account is OK, I will contact them. Thank you very much for your efforts.

Best regards,

Billy

Re: Better email stopped working after upgrading Indigo to 7

PostPosted: Tue Jul 14, 2020 9:10 am
by jay (support)
Error email send connection failed
Error email re-send scheduled in 10 minutes


Those are coming from the built-in email function. You must still have an action or something that's using the built-in email vs the plugin.

Re: Better email stopped working after upgrading Indigo to 7

PostPosted: Tue Aug 11, 2020 9:48 pm
by bjmouton
I am trying to specify a different smtp email server to send emails from but can't seem to find where to make this change. I do not see any place in Better email plugin to do so, in Indigo preferences/email settings all fields are blank, but but emails are still going out & sender info indicates that it coming from an email that no longer exists.

Re: Better email stopped working after upgrading Indigo to 7

PostPosted: Wed Aug 12, 2020 5:57 am
by FlyingDiver
bjmouton wrote:
I am trying to specify a different smtp email server to send emails from but can't seem to find where to make this change. I do not see any place in Better email plugin to do so, in Indigo preferences/email settings all fields are blank, but but emails are still going out & sender info indicates that it coming from an email that no longer exists.


To use a different SMTP server with Better Email, you need to create a new SMTP device. Or edit the existing one.

Re: Better email stopped working after upgrading Indigo to 7

PostPosted: Wed Aug 12, 2020 11:32 am
by bjmouton
Thank you!