Share via


POP3COMMAND enumeration

[POP3COMMAND is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Enumerates the Post Office Protocol version 3 (POP3) commands that have been issued to the server and the various states following an action.

Syntax

typedef enum tagPOP3COMMAND { 
  POP3_NONE       = 0,
  POP3_BANNER     = 1,
  POP3_CONNECTED  = 2,
  POP3_USER       = 3,
  POP3_PASS       = 4,
  POP3_AUTH       = 5,
  POP3_UIDL       = 6,
  POP3_STAT       = 7,
  POP3_LIST       = 8,
  POP3_DELE       = 9,
  POP3_RETR       = 10,
  POP3_TOP        = 11,
  POP3_NOOP       = 12,
  POP3_QUIT       = 13,
  POP3_RSET       = 14,
  POP3_CUSTOM     = 15
} ACCESSTYPE;

Constants

POP3_NONE

Indicates no current command.

POP3_BANNER

Indicates that a new server connection has been established and that the client has received the server's welcome banner. The POP3 transport is attempting to send either the AUTH or USER command to the server.

POP3_CONNECTED

Indicates that an authenticated connection has been established with the server.

POP3_USER

Indicates that a USER command has been sent to the server and that, if successful, the POP3 transport is attempting to send the PASS command.

POP3_PASS

Indicates that a PASS command has been sent to the server.

POP3_AUTH

Indicates that an AUTH command has been sent to the server.

POP3_UIDL

Indicates that a UIDL command has been sent to the server and that, if successful, the POP3 transport is populating the POP3RESPONSE structure with response data.

POP3_STAT

Indicates that a STAT command has been sent to the server and that, if successful, the POP3 transport is populating the POP3RESPONSE structure with response data.

POP3_LIST

Indicates that a LIST command has been sent to the server and that, if successful, the POP3 transport is populating the POP3RESPONSE structure with response data.

POP3_DELE

Indicates that a DELE command has been sent to the server and that, if successful, the POP3 transport is populating the POP3RESPONSE structure with response data.

POP3_RETR

Indicates that an RETR command has been sent to the server and that, if successful, the POP3 transport is populating the POP3RESPONSE structure with response data.

POP3_TOP

Indicates that a TOP command has been sent to the server and that, if successful, the POP3 transport is populating the POP3RESPONSE structure with response data.

POP3_NOOP

Indicates that an NOOP command has been sent to the server to help maintain the connection during a period of inactivity.

POP3_QUIT

Indicates that a QUIT command has been sent to the server and that the POP3 transport is closing the socket on the client.

POP3_RSET

Indicates that an RSET command has been sent to the server to reset the state of the session.

POP3_CUSTOM

Indicates that a custom protocol command has been sent.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Product
Outlook Express 6.0
Header
Imnxport.h
IDL
Imnxport.idl