Pages: 1
RSS
Error sending email via google's smtp server
 
Hi folks,

I have a bit unusual case because I'm running The Bat via Wine on Ubuntu 21.04.

For some reason newer version of The Bat no longer can send email via Google's SMTP server.

After a bit of experimenting I noticed that error occurs only when I have small jpg file attached to the email. Here is how log looks like
Code
 26/06/2021, 20:19:25: SEND  - sending mail message(s) - 1 message(s) in queue
26/06/2021, 20:19:25: SEND  - Connecting to SMTP server smtp.gmail.com on port 587
26/06/2021, 20:19:26: SEND  - Initiating TLS handshake
>26/06/2021, 20:19:26: SEND  - Certificate S/N: C662770E90C81534050000000087E452, algorithm: ECC (256 bits), issued from 5/31/2021 3:03:32 AM to 8/23/2021 3:03:31 AM, for 1 host(s): smtp.gmail.com.
>26/06/2021, 20:19:26: SEND  - Owner: "US", "California", "Mountain View", "Google LLC", "smtp.gmail.com".
>26/06/2021, 20:19:26: SEND  - Issuer: "US", "Google Trust Services", "GTS CA 1O1". Valid from 6/15/2017 12:00:42 AM to 12/15/2021 12:00:42 AM.
>26/06/2021, 20:19:26: SEND  - Root: "GlobalSign Root CA - R2", "GlobalSign", "GlobalSign". Valid from 12/15/2006 8:00:00 AM to 12/15/2021 8:00:00 AM.
26/06/2021, 20:19:26: SEND  - TLS handshake complete
26/06/2021, 20:19:26: SEND  - connected to SMTP server
26/06/2021, 20:19:26: SEND  - authenticating (login)...
26/06/2021, 20:19:26: SEND  - sending message to xxx@gmail.com
!26/06/2021, 20:19:26: SEND  - Server reports TLS error: Bad record MAC.
!26/06/2021, 20:19:26: SEND  - Message has not been sent. Server reply - 
!26/06/2021, 20:19:26: SEND  - Connection to host broken (last commands sent were: "DATA", "RSET")
26/06/2021, 20:19:26: SEND  - connection finished - 0 message(s) sent
26/06/2021, 20:19:26: SEND  - Some messages were not sent - check the log for details

It works if I use IMAP. What could be the issue and how to fix it ?
 
I'd recommend that you report this to Ritlabs' Support (see menu above). Be sure to mention the exact version of The Bat used, your settings for communicating with Gmail, and it may help if you upload the (exported) message that resulted in the error.
I volunteer as a moderator to help keep the forum tidy. I do not work for Ritlabs SRL.
 
Quote
Daniel van Rooijen wrote:
I'd recommend that you report this to Ritlabs' Support (see menu above). Be sure to mention the exact version of The Bat used, your settings for communicating with Gmail, and it may help if you upload the (exported) message that resulted in the error.
Submitted ticket 91500. Thanks!
Edited: Jack Daniels - 27 June 2021 12:33:36 (Added ticket number.)
Pages: 1