Post Office Protocol (POP3)


Class aprPOP

 

Description
The aprPOP Class enables an application to scan and retrieve mail messages stored on a remote host.  

 

For Secure Edition information, see SLL Certificates.

 

Variable

 

cErr

Holds the Last Error description

 

Debug

Logical for Enabling / Disabling additional Debug messages

 

DebugTrace

Logical. Whether or not to include the Callstack in the Debug messages

 

nErr

Holds the Last Error number

 

Session

Handle to the New / Current Message

 

 

Methods

 

New()

Initialize the library for use by the calling process

 

Destroy()

Releases resources for the Instance of the aprPOP Class

 

 

 

 

ChangePassword()

Change the specified mail account password

 

Command()

Send a command to the server

 

Connect()

Connect to the specified server

 

ConnectEx()

Establish a secure client connection with a remote server

 

DeleteMessage()

Delete the specified message from the mailbox

 

Disconnect()

Disconnect from the current server

 

GetHeaderValue()

Return the value of the specified header field

 

GetLineMode()

Return the current line mode

 

GetMessage()

Retrieve the specified message from the server

 

GetMessageCount()

Return the number of messages available in the mailbox

 

GetMessageCountEx()

Return the number of messages available in the mailbox

 

GetMessageHeader()

Retrieve the specified message header from the server

 

GetMessageID()

Return the message ID string for the specified message

 

GetMessageSender()

Return the address of the message sender

 

GetMessageSize()

Return the size of the specified message

 

GetResultCode()

Return the result code from the previous command

 

GetResultString()

Return the result string from the previous command

 

GetSocket()

Return the current session socket

 

Login()

Login to the remote server

 

LoginEx()

Login to the remote server, specifying authentication type

 

MultiLine()

Get/Set the client multi-line output flag

 

Read()

Read data returned by the remote server

 

Reset()

Reset the client state

 

SendMessage()

Send a message through the mail server

 

SetLastError()

Set the last error code

 

SetLineMode()

Set the current line mode

 

StoreMessage()

Store the contents of a message in the specified file

 

Timeout()

Get/Set the number of seconds until an operation times out

 

Trace()

Enable/Disable logging of socket-level calls to the trace log

 

Write()

Write data to the server

aSocks Secure Edition

 

See SSL Certificates