Re: POP3 client retrieving index list only



martin.x.nielsen wrote:

When using e.g. fetchmail, it can only retrieve all/unread messages
from a server. I need some client to retrieve only the headers from the
server using pop3. In addition to that I want to be able to retrieve
selected messages only (e.g. using regexp or selction by message
numer).
It is not for filtering spam, sometimes I am just interested in some
messages, and sometimes some other messages from the pop3 server.

E.g. lets say some remote POP3 server contains the following in my
inbox:

# subject
1 message a
2 message b
3 message c

Then I first need some way to get the above list, by retrieving all
headers from the server.
Then I need to get e.g. only message #2, but without deleting any of
the messages, because tomorrow I maybe want message #1.

The Post Office Protocol is simple enough.

USER foo
+OK
PASS &"!&
+OK
LIST
+OK
1 3436
2 14848
3 2789
4 1896
..
TOP n 0
(returns the headers of the n-th message)
RETR n
(returns the n-th message including headers)

Cheers.
.



Relevant Pages

  • Re: Exchange 2k to 2k3 Enterprise pop3 question
    ... POP3 retrieval isn't normally used in an environment like this. ... When you invest in server hardware, Windows and Exchange Server software ... I would retrieve all my ...
    (microsoft.public.exchange.setup)
  • Re: DL headers only in OE??
    ... you can download the headers for IMAP or HTTP. ... But for POP3, it's all or none of the message in OE. ... With many ISPs offer a web mail interface to look at your server mail ... Newsgroup messages are stored on a news server. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: All emails going to administrator
    ... the headers do have the correct ' to' information. ... I have installed GFI mailessentials and using their pop3 downloader all is ... > but the email may be sent to that server as part of the overall path. ... > pop3 server and awaits collection by a pop3 client. ...
    (microsoft.public.windows.server.sbs)
  • Downloading messages - overloaded?
    ... Had an old POP3 account that I needed to retrieve messages on, ... unfortunately that POP3 also contained 400 messages, ... The "Leave messages on the Server" was NOT ticked. ... to retrieve the mail from the same POP3 Outlook 2003 was using, ...
    (microsoft.public.outlook)
  • Re: DL headers only in OE??
    ... Which server type? ... FYI For POP3 you can't really get headers only in OE. ... it is thought that OE does make use of that command ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)