Tryag File Manager
Home
-
Turbo Force
Current Path :
/
proc
/
self
/
root
/
usr
/
lib
/
python2.4
/
Upload File :
New :
File
Dir
//proc/self/root/usr/lib/python2.4/poplib.pyc
mò ‚=5Dc @ sp d Z d k Z d k Z d d d g Z d e f d „ ƒ YZ d Z d Z d Z d Z e e Z d f d „ ƒ YZ d e f d „ ƒ YZ e d j o× d k Z e e i d ƒ Z e i ƒ GHe i e i d ƒ e i e i d ƒ e i ƒ e i ƒ \ Z Z x[ e d e d ƒ D]F Z e i e ƒ \ Z Z Z d e GHx e D] Z d e GHqBWd GHqWe i ƒ n d S( s@ A POP3 client class. Based on the J. Myers POP3 draft, Jan. 96 Nt POP3t error_protot POP3_SSLc B s t Z RS( N( t __name__t __module__( ( ( t /usr/lib/python2.4/poplib.pyR s in iã s s c B sõ t Z d Z e d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z e d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z e i d ƒ Z d „ Z d „ Z e d „ Z RS( sÏ This class supports both the minimal and optional command sets. Arguments can be strings or integers (where appropriate) (e.g.: retr(1) and retr('1') both work equally well. Minimal Command Set: USER name user(name) PASS string pass_(string) STAT stat() LIST [msg] list(msg = None) RETR msg retr(msg) DELE msg dele(msg) NOOP noop() RSET rset() QUIT quit() Optional Commands (some servers support these): RPOP name rpop(name) APOP name digest apop(name, digest) TOP msg n top(msg, n) UIDL [msg] uidl(msg = None) Raises one exception: 'error_proto'. Instantiate with: POP3(hostname, port=110) NB: the POP protocol locks the mailbox from user authorization until QUIT, so be sure to get in, suck the messages, and quit, each time you access the mailbox. POP is a line-based protocol, which means large mail messages consume lots of python cycles reading them line-by-line. If it's available on your mail server, use IMAP4 instead, it doesn't suffer from the two problems above. c C s | | _ | | _ d } d | _ x t i | i | i d t i ƒ D]Š } | \ } } } } } y, t i | | | ƒ | _ | i i | ƒ Wn? t i j o0 } | i o | i i ƒ n d | _ qC n XPqC W| i p t i | ‚ n | i i d ƒ | _ d | _ | i ƒ | _ d S( Ns! getaddrinfo returns an empty listi t rb( t hostt selft portt msgt Nonet sockt sockett getaddrinfot SOCK_STREAMt rest aft socktypet protot canonnamet sat connectt errort closet makefilet filet _debuggingt _getrespt welcome( R R R R R R R R R R ( ( R t __init__O s* "