AdvPOP3 Example Code

The component allows you to perform retrieve and delete mail messages from any standard POP3 server, which compiles with RFC 1939, via a web page and offer functionality that POP3 server support. Access to the component can also be turned on at website basis like all other ASPFusion components. The component exposes message headers via properties and handles quoted-printable and base64 decoding file attachments and embedded images also. It provides following operations.

  1. Retrieve mail messages using message numbers and also can sort the messages in ascending and descending given criteria.

  2. Delete mail messages.

  3. Check current status, as number of mail messages present and total size.

  4. It also provides Download and DownloadAs for handling mail attachments. Download operation allows downloading file to client browser with actual file name and DownloadAs operation allows downloading file to client browser with specified name.

Method Name Method Description
Delete Delete specified message(s) from the mailbox using their sequence numbers
Download Download the source file to client’s browser
DownloadAs Download the source file with given name to client’s browser
GetAll Retrieves the data associated with messages using their sequence numbers
GetHeaderOnly Retrieves the headers associated with messages using their sequence numbers
Status Check current status

Back

Copyright © 2000, Advanced Communications