Grant Edwards wrote:
> On 2008-09-18, Lawrence D'Oliveiro <[EMAIL PROTECTED]> wrote:
>> In message
>> <[EMAIL PROTECTED]>, sui
>> wrote:
>>
>>> Traceback (most recent call last):
>>>   File "mail5.py", line 21, in <module>
>>>     session = smtplib.SMTP(SMTPserver,port)
>>>   File "/usr/local/lib/python2.5/smtplib.py", line 244, in __init__
>>>     (code, msg) = self.connect(host, port)
>>>   File "/usr/local/lib/python2.5/smtplib.py", line 301, in connect
>>>     self.sock.connect(sa)
>>>   File "<string>", line 1, in connect
>>> then conncetion time out.....
>> Could it be your ISP is blocking outgoing connections to port
>> 25?
> 
> gmail doesn't accept mail via SMTP on port 25.
> 
I was going to say that's boloney until I checked my settings - it's a
year or more since I set gmail up with Thunderbird.

smtp.gmail.com accepts TLS connections on port 587.

regards
 Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC              http://www.holdenweb.com/

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to