#email test error Bad Request: Could not convert socket to TLS

1 messages · Page 1 of 1 (latest)

sturdy glade
#

I have setup email with no authentication and no tls.
Docker.env has these keys:
APPSMITH_MAIL_SMTP_AUTH=false
APPSMITH_MAIL_SMTP_TLS_ENABLED=false
APPSMITH_MAIL_ENABLED=true
APPSMITH_MAIL_HOST=<our ip>
APPSMITH_MAIL_PORT=25
APPSMITH_MAIL_USERNAME=
APPSMITH_MAIL_PASSWORD=
APPSMITH_MAIL_FROM=<myemail>
APPSMITH_REPLY_TO=<myemail>

In the gui these appear correctly. Other apps use these settings with success.

Please help.

Thanks.

coral galeBOT
#

Hey There,

We've registered your query, and our team will get back to you soon.

Regards,
Team Appsmith

coral galeBOT
sturdy glade
#

here are the logs

#

backend stdout | 220 2.0.0 SMTP server ready
backend stdout |
backend stdout | [2023-02-02 14:55:53,457] [email protected], sessionId=57178ade-3220-4cdb-a873-4946d579eef1, thread=nioEventLoopGroup-3-6, requestId=36ef6840-eda2-4156-9cf6-ba631f40c638 -
backend stdout | com.appsmith.server.exceptions.AppsmithException: Bad Request: Could not convert socket to TLS

coral galeBOT
#

Thank you. Our team is investigating this and will get back to you.

#

What is your Appsmith version?

sturdy glade
#

1.9.3.1

coral galeBOT
#

What email service do you use?

sturdy glade
#

exchange

#

what I find strange is that it seems appsmith is trying tls even though it's turned off

coral galeBOT
#

Can you confirm if you have custom SSL certificates on Microsoft Exchange?

sturdy glade
#

I don't undestand... I'm not using encryption

#

curl works fine

#

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 27 0 0 100 27 0 230 --:--:-- --:--:-- --:--:-- 230

coral galeBOT
#

Ok. Our team is debugging this issue and we'll get back to you, but please
expect some delays due to the weekend.

sturdy glade
#

ok, thanks.

coral galeBOT
#

Hey! Just wanted to let you know that we're still looking into this. Thanks for
your patience.

sturdy glade
#

👍

sturdy glade
#

just to let you know that it works if I change the smtp server to office365 with tls and authentication.

coral galeBOT
#

Thanks for this info! I've passed this along to the team.