smtplib and TLS
Matthias Kluwe
mkluwe at gmail.com
Tue Jun 21 11:39:02 EDT 2005
> From: "Paul Rubin" "http://phr.cx"@NOSPAM.invalid
>> "Matthias Kluwe" <mkl... at gmail.com> writes:
>> After getting a @gmail.com address, I recognized I had to use TLS in my
>> python scripts using smtplib in order to get mail to the smtp.gmail.com
>> server.
>> [...]
>> The server accepts and delivers my messages, but the last command
>> raises
>> socket.sslerror: (8, 'EOF occurred in violation of protocol')
> [...]
> Have you verified that its your end that is broken, not gmail's, do other
> servers give the same response ?
No, I have not -- I should have, as I know now: Connecting, starttls,
login and sending mail works fine without the above mentioned error
using my previous mail provider.
Does that mean Gmail is in error here? I don't know...
Regards,
Matthias
More information about the Python-list
mailing list