On the emonPi in the var/log/emoncms.log there are lots of these email errors below. I don’t believe I’ve added an email address anywhere except for the Account page. It looks like something sends this error message once per minute.
I searched thru the forum for errors related to eventp_processlist.php but only found one or two posts.
How might I turn this off or correct it?
2018-03-07 01:17:02.858|ERROR|eventp_processlist.php|Email send returned error. message='Expected response code 250 but got code "535", with message "535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8 https://support.google.com/mail/?p=BadCredentials z73sm11018328ioi.76 - gsmtp
"'
2018-03-07 01:18:02.853|ERROR|eventp_processlist.php|Email send returned error. message='Expected response code 250 but got code "535", with message "535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8 https://support.google.com/mail/?p=BadCredentials 33sm10872930ioj.71 - gsmtp
"'
2018-03-07 01:19:03.000|ERROR|eventp_processlist.php|Email send returned error. message='Expected response code 250 but got code "535", with message "535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8 https://support.google.com/mail/?p=BadCredentials h63sm7921142ioa.81 - gsmtp
"'
If that finds no occurrences then the issue is why is the “sendEmail” process being triggered every 60s, the fact it is email isn’t the issue. It’s a process that isn’t being deliberately triggered so why is it running?
No, there’s never been a need for one, email is only ever triggered by the user password reset, the sendEmail process or more recently the emailreport module, and if emoncms tries to use one of those without email set up it will raise an error, which is what is happening.
The issue is not “why is the email failing”, we know why that is, it’s not set up. The question is why is a “sendEmail” process being used when email hasn’t been set up? Either the process has been added in error or there is an issue that is triggering unwanted processes.