Re: modify a message



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

.



Relevant Pages

  • Re: modify a message
    ... once a message is in an IMAP mail store it is immutable. ... The only way to store a modified message is to append a new copy of the message, modified externally, to the mailbox. ... 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. ... Liberty is a well-armed sheep contesting the vote. ...
    (comp.mail.imap)
  • Re: Enhancing ASP.NET Framework
    ... On the server side, the logical container for this would be ... Session and Cache are the two built in mechanisms to keep state on the ... The state information is bounced between client and server. ... >Its a good idea to store small non-critical objects in a ViewState. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: IMAP and Outlook 2007
    ... Assuming you are making an IMAP connection with that client ... then that application will probably build a cache somewhere as ... IMAP accounts will always leave a copy on the server if that was your ... am ending up asking a question about IMAP and not strictly Outlook:o) ...
    (microsoft.public.outlook.general)
  • Re: send email
    ... Yours, the *mail server*, presumably ... The client wants to be able to send ... server via one of two protocols, POP or IMAP. ...
    (alt.os.linux.redhat)
  • [kde] exporting from kmail (Was: Kmail2/Akonadi issue on FreeBSD.)
    ... was setting up an imap mail server. ... native mail program on ipod-touch - any other imap aware client you ... use email, mailinglists, newsgroups and feeds, but I prefer separate ...
    (KDE)