On 21 Jun 2005 08:39:02 -0700, Matthias Kluwe <[EMAIL PROTECTED]> wrote:
>> From: "Paul Rubin" "http://phr.cx"@NOSPAM.invalid
>
>>> "Matthias Kluwe" <[EMAIL PROTECTED]> writes:
>>> After getting a @gmail.com address, I recognized I had to use TLS in my
>>> python scripts using smtplib in order to g
- Original Message -
From: "Matthias Kluwe" <[EMAIL PROTECTED]>
> > 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 fin
> From: "Paul Rubin" "http://phr.cx"@NOSPAM.invalid
>> "Matthias Kluwe" <[EMAIL PROTECTED]> 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
- Original Message -
From: "Paul Rubin" "http://phr.cx"@NOSPAM.invalid
> "Matthias Kluwe" <[EMAIL PROTECTED]> writes:
> > Hmm. I tried
> >
> > server.sock.realsock.shutdown(2)
> > before server.quit() with the result of
>
> I don't think that's exactly what you want. You need to send a
"Matthias Kluwe" <[EMAIL PROTECTED]> writes:
> Hmm. I tried
>
> server.sock.realsock.shutdown(2)
> before server.quit() with the result of
I don't think that's exactly what you want. You need to send a
specific TLS message BEFORE shutting down the socket, to tell the
other end that the TLS conne
> "Matthias Kluwe" <[EMAIL PROTECTED]> 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 mes
"Matthias Kluwe" <[EMAIL PROTECTED]> 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
Hi!
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.
Things work well so far, apart from an unexpected error. Here's my
sample code:
import smtplib
server = smtplib.SMTP('smtp.gmail.com', 587)