11.3.1 The POP3 Interface

Properties
The POP3 Interface exposes no properties.
Collections
Messages
Methods
- Connect
- Delete
- Disconnect
- Reset
11.3.1.1 Collection Details
Messages
A collection of Message Objects, as described below. The collection is "read-only", and does not support the standard Append or Delete collection methods.
11.3.1.2 Method Details
Connect
Establishes network connect to POP3 server.
Arguments
Host
|
Server to connect to.
|
UserId
|
User Id to use with server to connect to.
|
Password
|
Password to use with server to connect to.
|
Example:
See the Disconnect example below.
Disconnect
Disconnects from POP3 server.
Example:
Set pop3 = Server.CreateObject("CHILI.POP3.1")
pop3.Connect "mail.foo.com", "myuserid", "mypsswd"
pop3.Disconnect
Delete
Delete a message on the POP3 server. It does not delete the message from the Message collection.
Arguments
Id
|
0 based index for the message in the message collection
|
Reset
Returns the POP3 server to the beginning of the transaction state (Connected) and ignores any commands and their effect on the connection. For example all mail which may been requested to be deleted from mailbox is restored to the un-deleted state.
Example:
Set pop3 = Server.CreateObject("CHILI.POP3.1")
pop3.Connect "mail.foo.com", "myuserid", "mypsswd"
pop3.Reset
pop3.Disconnect
Copyright © 2000 Chili!Soft
|