smtplib and TLS
Paul Rubin
http
Fri Jun 17 15:34:58 EDT 2005
"Matthias Kluwe" <mkluwe at gmail.com> writes:
> The server accepts and delivers my messages, but the last command
> raises
>
> socket.sslerror: (8, 'EOF occurred in violation of protocol')
>
> Did I miss something? Any hint is welcome.
Looks like the module didn't send an TLS Close Notify message before
closing the socket. I don't see anything in the docs about how to
send one from smtplib or socket, though.
More information about the Python-list
mailing list