## 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 these operations.

1. Retrieve mail messages using message numbers and also can sort the messages in given ascending and descending 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 operations. Download operation allows downloading a file to client browser with actual file name and DownloadAs operation allows downloading a file to client browser with specified name. These operations can be used to download attachments to client machine.

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

Back

© 2005 ASPFusion