Best SMTP/POP library?
Gerhard Häring
gerhard.haering at gmx.de
Wed Jan 22 19:53:14 EST 2003
More information about the Python-list mailing list
Wed Jan 22 19:53:14 EST 2003
- Previous message (by thread): Best SMTP/POP library?
- Next message (by thread): Best SMTP/POP library?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Robert Oschler wrote: >> [Me:] >> For a (GUI) MUA blocking calls like the ones in smtplib and poplib tend to >> annoy the user. Twisted might come in really useful there. >> >> OTOH maybe using smtplib/poplib in a separate thread and communicating via >> Queue.Queue or whatever works well, too. >> >> But if you can avoid threads, that's a Good Thing [tm]. > > I assume you're referring to the global intepreter lock? No, just the fact that smtplib and poplib block. That means if a you have a single-threaded app and getting up a connection to the SMTP/POP server takes 5 seconds or more the app will appear "frozen" during that timespan. This often makes users click around wildly ... Gerhard -- Favourite database: http://www.postgresql.org/ Favourite programming language: http://www.python.org/ Combine the two: http://pypgsql.sf.net/ Embedded database for Python: http://pysqlite.sf.net/
- Previous message (by thread): Best SMTP/POP library?
- Next message (by thread): Best SMTP/POP library?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list