NOTE: Using software to mass-download the site degrades the server and is prohibited.
If you want to read The TCP/IP Guide offline, please consider licensing it. Thank you.

The Book is Here... and Now On Sale!

Enjoy The TCP/IP Guide? Get the complete PDF!
The TCP/IP Guide

Google
Web TCP/IP Guide






Table Of Contents  The TCP/IP Guide
 9  TCP/IP Application Layer Protocols, Services and Applications (OSI Layers 5, 6 and 7)
      9  TCP/IP Key Applications and Application Protocols
           9  TCP/IP File and Message Transfer Applications and Protocols (FTP, TFTP, Electronic Mail, USENET, HTTP/WWW, Gopher)
                9  TCP/IP Electronic Mail System: Concepts and Protocols (RFC 822, MIME, SMTP, POP3, IMAP)
                     9  TCP/IP Electronic Mail Access and Retrieval Protocols and Methods
                          9  TCP/IP Internet Message Access Protocol (IMAP/IMAP4)

Previous Topic/Section
IMAP Authenticated State: Mailbox Manipulation/Selection Process and Commands
Previous Page
Pages in Current Topic/Section
1
2
3
Next Page
Other TCP/IP Electronic Mail Access and Retrieval Methods
Next Topic/Section

IMAP Selected State: Message Manipulation Process and Commands
(Page 2 of 3)

Selected State Commands

Table 262 lists the message-specific commands that can only be used in the Selected state.


Table 262: IMAP Selected State Commands

Command

Parameters

Description

CHECK

None

Sets a “checkpoint” for the current mailbox. This is used to mark when a certain sequence of operations has been completed.

CLOSE

None

Explicitly closes the current mailbox and returns the session to the Authenticated state. When this command is issued, the server will also implicitly perform an EXPUNGE operation on the mailbox.

EXPUNGE

None

Permanently removes any messages that were flagged for deletion by the client. This is done automatically when a mailbox is closed.

SEARCH

Search criteria and an optional character set specification

Searches the current mailbox for messages matching the specified search criteria. The server response lists the message numbers meeting the criteria. See below.

FETCH

Sequence of message numbers and a list of message data items (or a macro)

Retrieves information about a message or set of messages from the current mailbox. See below for more details.

STORE

Sequence of message numbers, message data item name and value

Stores a value for a particular message data item for a set of messages. See below for more details.

COPY

Sequence of message numbers and a mailbox name

Copies the set of messages specified to the end of the specified mailbox.

UID

Command name and arguments

Used to allow one of the other commands above to be performed using unique identifier numbers for specifying the messages to be operated on, rather than the usual message sequence numbers.


Previous Topic/Section
IMAP Authenticated State: Mailbox Manipulation/Selection Process and Commands
Previous Page
Pages in Current Topic/Section
1
2
3
Next Page
Other TCP/IP Electronic Mail Access and Retrieval Methods
Next Topic/Section

If you find The TCP/IP Guide useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider purchasing a download license of The TCP/IP Guide. Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $



Home - Table Of Contents - Contact Us

The TCP/IP Guide (http://www.TCPIPGuide.com)
Version 3.0 - Version Date: September 20, 2005

© Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.