Re: modify a message
- From: korfut <korfut@xxxxxxxxxxx>
- Date: Fri, 08 Jun 2007 06:35:43 -0000
On 7 Giu, 18:09, Mark Crispin <m...@xxxxxxxxxxxxxxxxxx> wrote:
There is no way to modify a message in IMAP. By design, once a message is
in an IMAP mail store it is immutable. Metadata associated with the
message (such as the "has been read" flag) can be altered, but not the
message itself.
The only way to store a modified message is to append a new copy of the
message, modified externally, to the mailbox. You can then delete and
expunge the original.
The implication of this is that a client which keeps a cache of the
mailbox client can assume that once it has fetched a message it never
needs to fetch it again. Many clients make precisely that assumption.
If messages could be altered on the IMAP store, then only "online" type
clients (such as Pine) which do not keep a cache would be able to use
IMAP.
-- Mark --
http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.
cache is not an issue. if i create a copy and save it I believe the
messageID will not be the same correct?
thank you
.
- References:
- modify a message
- From: korfut
- Re: modify a message
- From: Mark Crispin
- modify a message
- Prev by Date: Re: modify a message
- Next by Date: Re: modify a message
- Previous by thread: Re: modify a message
- Next by thread: Re: modify a message
- Index(es):
Relevant Pages
|