poplib

Discussion in 'Python' started by Gabriel Rossetti, Feb 9, 2009.

  1. Hello,

    I am using poplib and I noticed that calls to top() don't return the msg
    info (2nd index in the returned list, e.g. email.top(1,0)[1]) in the
    same order, by that I mean the date could be email.top(1,0)[1][2] or
    email.top(1,0)[1][5], etc. Is there a reason for that other than that
    may be how the server is sending them? Why not re-order them and send
    back a list that always had the date as element n or even better a dict?

    Thank you,
    Gabriel
     
    Gabriel Rossetti, Feb 9, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Simon Burton

    spam killing with poplib

    Simon Burton, Sep 20, 2003, in forum: Python
    Replies:
    7
    Views:
    365
    Donn Cave
    Sep 21, 2003
  2. Rybread
    Replies:
    1
    Views:
    318
    Alex Martelli
    Sep 22, 2003
  3. Elbert Lev

    poplib for multihomed machines

    Elbert Lev, Jun 28, 2004, in forum: Python
    Replies:
    8
    Views:
    352
    Jorgen Grahn
    Jul 3, 2004
  4. Replies:
    2
    Views:
    1,119
    Mike Meyer
    Jun 22, 2005
  5. Steve Greenland

    poplib.POP3.list() returns extra value?

    Steve Greenland, Jul 28, 2005, in forum: Python
    Replies:
    2
    Views:
    510
    Steve Greenland
    Jul 29, 2005
Loading...

Share This Page