imaplib header how to retrieve just the address

Akhar akhar at videotron.ca
Mon Mar 27 04:43:50 CEST 2000


I have been playing with imaplib.py, pop.py, poplib.py. I finally chose
imaplib but I could do things with pop.py that I can't with imaplib for
instance

w = re.compile('^somehin')
w.match(line)
doesn't return anything in with messages retrieved by imaplib. All I want to
do is retrieve the address(es) of the sender(s) and Cc without the 'From:'
how can I do this
THank you in advance
Stephane






More information about the Python-list mailing list