POP3 and "seen" flag

M

Miki Tebeka

Hello All,

Is there a way to know in a POP session of a message was seen (old) or not
(new)?

Thanks.
--
------------------------------------------------------------------------
Miki Tebeka <[email protected]>
http://tebeka.bizhat.com
The only difference between children and adults is the price of the toys

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)

iD8DBQFCw9zY8jAdENsUuJsRAjl7AJ41ztqW/i1gr12RimhQ2WLIFydZPwCcDev2
rJMtyngl8yQ3c+tS78vhBaE=
=pEeQ
-----END PGP SIGNATURE-----
 
P

Peter Hansen

Miki said:
Is there a way to know in a POP session of a message was seen (old) or not
(new)?

Define "seen". It could be interpreted as either "TOP" or "RETR" having
been executing for a message, or something like "this client has seen
this message before" ... not sure what you mean.

In any case, the short answer is "no".

The longer answer is that _some_ POP3 servers provide non-standard
support for this by doing things like adding a special header to the
message, things like "X-Seen", which can be seen by using the TOP
command. This sort of thing is entirely non-standard and you can't rely
on it in general, AFAIK.

A better approach would be to have your client software track the
Message-ID header, but something tells me you are interpreting "seen" as
meaning "anyone has RETRed the message", so that won't work either.

-Peter
 
M

Miki Tebeka

Hello Peter,
Define "seen". It could be interpreted as either "TOP" or "RETR" having
been executing for a message, or something like "this client has seen
this message before" ... not sure what you mean.
That the message have been read (RETR executed on it). The "seen flag" is
taken from 'retr' documentation at
http://docs.python.org/lib/pop3-objects.html.
In any case, the short answer is "no".
Good to know :)
The longer answer is that _some_ POP3 servers provide non-standard
support for this by doing things like adding a special header to the
message, things like "X-Seen", which can be seen by using the TOP
command. This sort of thing is entirely non-standard and you can't rely
on it in general, AFAIK.
No such luck for me.
A better approach would be to have your client software track the
Message-ID header, but something tells me you are interpreting "seen" as
meaning "anyone has RETRed the message", so that won't work either.
You're right.
I'm trying to delete only read messages from Exchange server, *another*
client is used for reading. (It's a long story involving me and IT here
...)

Bye.
--
------------------------------------------------------------------------
Miki Tebeka <[email protected]>
http://tebeka.bizhat.com
The only difference between children and adults is the price of the toys

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)

iD8DBQFCx3wO8jAdENsUuJsRAot0AKCI/bpmdGoBHntUlo62Y4hx8dlD5QCdFJS0
9OAv2ZJpuFDqrM2ANiwsX24=
=bn7v
-----END PGP SIGNATURE-----
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top