POPMAIN Object


Properties

Asychronous

Specifies the operation mode of POPMAIN Object.

Connected

Indicates if client has connected to the server.

IMAP4Connection

Using IMAP4 protocol instead of POP3 protocol.

IMAP4Folder

Retrieving email from what folder on IMAP4 server.

IMAP4Flags

Special actions with IMAP4 protocol.

LogFileName

Log file to record sessions between client and server.

NTLMAuth

Indicates if anpop uses secure password to login in pop3 server.

ProxyProtocol

Specifies the proxy server protocol (socks4/socks5/http).

ServerPort

POP3 Server listening port.

SSL_registerkey

Registration code of SSL/TLS Plus for ANSMTP/ANPOP.

SSL_stls

Specifies whether current connection uses STLS command to enable SSL/TLS.

SocksProxyServer

Specifies socks4/socks5/http proxy server address.

SocksProxyPort

Specifies socks4/socks5/http proxy port.

SocksProxyUser

Specifies the user for user authentication of proxy server.

SocksProxyPassword

Specifies the password for user authentication of proxy server.

Timeout

The maximum duration in second the object waiting for a response from server.

Version

Version of this object.

Methods

Close

Disconnect to POP3 & IMAP4 server.

Connect

Connect to POP3 & IMAP4 server.

Delete

Delete specified message from POP3 & IMAP4 server.

DecodeIMAP4Folder

Decode IMAP4 folder name with UTF-7.

EncodeIMAP4Folder

Encode IMAP4 folder name with UTF-7.

execIMAP4Command

Executes an IMAP4 command.

GetMsgHeader

Download specified message header from POP3 & IMAP4 server.

GetMsgID

Retrieve unique message id of specified message from POP3 & IMAP4 server.

GetMsgSize

Get the size of specified message.

GetSizeOfMails

Get the total size of mails existing on POP3 & IMAP4 server.

GetTotalOfMails

Get total count of mails existing on POP3 & IMAP4 server.

NOOP

Perform a NOOP command.

ParseIMAP4Response

Parses the specified item in IMAP4 server response line.

Reset

Perform a RSET command.

Retrieve

Retrieves specified message from POP3 & IMAP4 server.

RetrieveToFile

Retrieves specified message from POP3 & IMAP4 server and save it to a local file.

SecureConnect

Connect to POP3 & IMAP4 server with password encoding (APOP command).

SSL_init

Initializes security library for POP3 & IMAP4 SSL/TLS connection.

SSL_uninit

Unload security library for POP3 & IMAP4 SSL/TLS connection.

Terminate

Terminate all unfinished tasks.

Events

OnClosed

Occurs when the connection to the server closes.

OnConnected

Occurs when client successfully connects to server.

OnDeleted

Occurs when an email is deleted from server.

OnError

Occurs when POPMAIN object handles an error.

OnGetMsgHeader

Occurs when a message header is received.

OnGetMsgID

Occurs when a message identifier is received.

OnGetMsgSize

Occurs when an email's size is received.

OnGetSizeOfMails

Occurs when the total size of emails existing on server is received.

OnGetTotalOfMails

Occurs when total count of emails existing on server is received.

OnRetrieve

Occurs when POPMAIN object begins to receive emails from server.

OnRetrieved

Occurs when an email is received by POPMAIN object.

OnReceiving

Occurs while POPMAIN object is receiving an email from server.


2001-2007 © Copyright AdminSystem Software Limited. All rights reserved.