Changeset 402 for foomailer/foomail.py


Ignore:
Timestamp:
Oct 4, 2016, 2:17:24 PM (8 years ago)
Author:
Rick van der Zwet
Message:

Be relaxed, since some relays are slow.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • foomailer/foomail.py

    r401 r402  
    202202if not dry:
    203203    mark = time.time()
    204     server = smtplib.SMTP(server, port)
     204    server = smtplib.SMTP(server, port, timeout=600)
    205205    server.set_debuglevel(trace)
    206206    server.helo(hostname)
Note: See TracChangeset for help on using the changeset viewer.