Pages: 1
RSS
Can't send e-mail - Error 5.7.1, Suddenly Can't send e-mails from gmail pop accounts - Error 5.7.1
 
Seems like they changed something again, because 2 days ago or so I had to authenticate all my gmails account again and today had to gain access manually to less secure apps again by login to google from the web browser


12/22/2021, 10:47:31: SEND  - Server reports error. The response is: 5.7.0  https://support.google.com/mail/?p=WantAuthError j15sm1429351ile.68 - gsmtp

12/22/2021, 10:47:31: SEND  - TLS handshake complete  12/22/2021, 10:47:31: SEND  - connected to SMTP server  12/22/2021, 10:47:31: FETCH - TLS handshake complete  

12/22/2021, 10:47:31: FETCH - connected to POP3 server  12/22/2021, 10:47:31: SEND  - WARNING: there were no compatible authentication mechanisms detected

!12/22/2021, 10:47:31: SEND  - Server reports error. The response is: 5.7.0  https://support.google.com/mail/?p=WantAuthError j15sm1429351ile.68 - gsmtp

I am still able to send out from IMAP gmail accounts

Win10, TheBat! 9.4.5

Any ideas,  
 
Server reports error. The response is: 5.7.0
Code
 2023-02-12, 20:49:28: SEND  - sending mail message(s) - 1 message(s) in queue
2023-02-12, 20:49:28: SEND  - Connecting to SMTP server smtp.gmail.com on port 587
2023-02-12, 20:49:28: SEND  - Initiating TLS handshake
>2023-02-12, 20:49:28: SEND  - Certificate S/N: 00E2D9FF640D3230EB0A7511605388A542, algorithm: 1.2.840.10045.2.1 (256 bits), issued from 1/31/2023 10:21:34 AM to 4/25/2023 10:21:33 AM, for 1 host(s): smtp.gmail.com.
>2023-02-12, 20:49:28: SEND  - Owner: smtp.gmail.com.
>2023-02-12, 20:49:28: SEND  - Issuer: US, Google Trust Services LLC, GTS CA 1C3.
2023-02-12, 20:49:29: SEND  - TLS handshake complete
2023-02-12, 20:49:29: SEND  - connected to SMTP server
2023-02-12, 20:49:29: SEND  - WARNING: there were no compatible authentication mechanisms detected
2023-02-12, 20:49:29: SEND  - sending message to xxx@googlemail.com
!2023-02-12, 20:49:29: SEND  - Server reports error. The response is: 5.7.0  https://support.google.com/mail/?p=WantAuthError i8-20020a5d<###>wrq.25 - gsmtp
2023-02-12, 20:49:29: SEND  - connection finished - 0 message(s) sent
2023-02-12, 20:49:29: SEND  - Some messages were not sent - check the log for details
On my primary googlemail.com account I also noted this error message while trying to send an email. Win10, The Bat! 10.3.3.3.


I rarely send out emails on this account, so I only noted the error just now. Before sending the email The Bat! asked for a password, since The Bat! should know the password, I knew something was off. Also entering the PW for my googlemail.com account did not work either.

On my 2nd googlemail.com account, thankfully, sending an email works just fine.

Any suggestions on what is going on again, and how to fix this would be appreciated.

Update: And only now noted that receiving emails also fails.
Code
 2023-02-12, 21:16:02: FETCH - receiving mail messages
2023-02-12, 21:16:02: FETCH - Connecting to POP3 server pop.gmail.com on port 995
2023-02-12, 21:16:02: FETCH - Initiating TLS handshake
>2023-02-12, 21:16:02: FETCH - Certificate S/N: 00A403AA6E414874A012351DD0C906B4DC, algorithm: 1.2.840.10045.2.1 (256 bits), issued from 1/31/2023 10:21:33 AM to 4/25/2023 10:21:32 AM, for 1 host(s): pop.gmail.com.
>2023-02-12, 21:16:02: FETCH - Owner: pop.gmail.com.
>2023-02-12, 21:16:02: FETCH - Issuer: US, Google Trust Services LLC, GTS CA 1C3.
2023-02-12, 21:16:02: FETCH - TLS handshake complete
2023-02-12, 21:16:02: FETCH - connected to POP3 server
!2023-02-12, 21:16:04: FETCH - Server reports error. The response is: -ERR [AUTH] Username and password not accepted.
Edited: AEon - 12 February 2023 22:21:12
 
The first error message points to a page at support.google.com that offers many suggestions. Have you tried them?

Can you still log into the gmail web interface?
I volunteer as a moderator to help keep the forum tidy. I do not work for Ritlabs SRL.
 
Quote
Daniel van Rooijen wrote:
The first error message points to a page at support.google.com that offers many suggestions. Have you tried them?

Can you still log into the gmail web interface?

Send/Receive of emails on my primary googlemail.com account works again, after rebooting the PC this morning.
(Side note: I boot up my Win10Pro PC every morning and keep it running for about 18 hours, then shut it down towards midnight.)

The last time I had such issues, I noted that looking at the account Properties (right-click on the account name in question), and then General -> Certificates... button (My certificate is apparently valid until 2118-05-13 (Expiry Date))... without changing anything under the Properties seemed to fix things. Not right away, since I continued to have the issue close to midnight yesterday... but after a reboot this morning.

There seems to be some strange issue with "my" properties in The Bat!... as if calling the properties windows refreshes e.g. certificate info for the "rest" of The Bat!... so that a reboot fixed The Bat! and that googlemail.com account again. Very strange.

Anyway:
  • - Thanks for the Tip with the support page... I did read all the points mentioned there. But everything seems to work now.
  • - One tip from the above support page: "Make sure your mail app isn't set to check for new email too frequently.  If your mail app checks for new messages more than once every 10  minutes, the app’s access to your account could be blocked."... this would explain if you fix something in The Bat!, i.e. open properties window, and close it again, that you cannot immediately check for the "fix", since there is a 10 minute waiting period, making things extra "laggy". And of course I did not wait when rechecking.
  • - gmail web interface access: I tested it this morning... login works fine.
Conclusion: Still have no clue why this happened... and that checking into the account properties in The Bat!, is just a guess. But this seems to fix things apparently.

Possibly related?: The battery on my 7-year-old PC's mainboard is getting weak, usually the PC boots fine, but 2-3 times (when it was cold in the room there past months, *not* yesterday) I had to F10 (save) in the BIOS to only then boot into Windows. Since the battery keeps the clock (and BIOS settings) "alive", could a time difference mess with certificates? Hmmm... my 2nd gmail.com account worked, so probably this was not the issue either.

Thanks for the suggestions anyway.
Edited: AEon - 13 February 2023 08:34:27
Pages: 1