You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You seem to confuse two ways to use TLS with client-server SMTP (aka Submission).
Implicit TLS
The connection is initially protected using TLS. This is what is used on the standard port 465.
STARTTLS
The connection is initially established in plaintext but after ESMTP negotiation TLS is activated using STARTTLS command. This is what is used on the standard port 587.
For 1, use smtplib.SMTP_SSL(). For 2, use smtplib.SMTP() and then call smtplib.starttls().
Your error is caused by an attempt to use plaintext SMTP on port with Implicit TLS. That is, server expects client to initiate TLS but it instead sends SMTP EHLO.
@hyahm, I'm going to close this for now as it's been 3 months and we need more information to understand better what's going on, as explained in the last two comments.
If you have more information, please reopen so we can follow up. Thanks!
os: centos 7
go version: go1.12.7 linux/amd64
install
add user
I had register a https cert and repalce it
check
python client code
The text was updated successfully, but these errors were encountered: