[REBOL] Re: moving email on an Imap server
From: holger:rebol at: 9-May-2002 8:11
On Thu, May 09, 2002 at 10:49:55PM +1200, Graham Chiu wrote:
> > I don't know the details about this port. But I know
> > IMAP4/POP3 are
> > protocols used to RECEIVE email. If you wish to move
> > email, I think you
> > should use IMAP4 to read email, and use SMTP protocol to
> > send it to
> > another email adress.
>
> Hi Alessandro,
>
> This is from the RFC for IMAP4 (
> http://www.faqs.org/rfcs/rfc2060.html )
>
> "IMAP4rev1 includes operations for creating, deleting, and
> renaming mailboxes; checking for new messages; permanently
> removing messages; setting and clearing flags; [RFC-822] and
> [MIME-IMB] parsing;searching; and selective fetching of
> message attributes, texts, and portions thereof."
>
> I think MOVE should be COPY followed by REMOVE.
> However, looking at the current IMAP handler, COPY ( as in
> copying a message from one mailbox to another ) is not
> supported.
There is a difference between the IMAP protocol itself (RFC 2060)
and the imap:// URL scheme (RFC 2192). At this time REBOL only
supports the imap:// URL scheme, which has a subset of the full
IMAP protocol functionality. It handles mailbox lists, message
lists, retrieving and deleting of messages, and message searches,
i.e. it is API-compatible to pop://, with added support for
multiple mailboxes and searches.
Move/copy/rename and other administrative IMAP functions are
not specified in RFC 2192 and not supported by REBOL's imap://
scheme at this time.
--
Holger Kruse
[kruse--nordicglobal--com]