Pop3Client (gb.net.pop3)
POP3 protocol implementation in Gambas
Properties
Count
|
Returns the message count of the inbox.
|
Debug
|
Return or set the debugging mode.
|
Encrypt
|
Return or set the encryption method.
|
Host
|
Returns or sets the POP server.
|
Password
|
Returns or sets the password used to authenticate to the server.
It cannot be modified after Open is executed
|
Port
|
Return or set the port used for connecting to the POP server.
|
Size
|
Returns the size of the inbox in bytes.
|
Status
|
Returns the status of the Pop3Client connection.
|
User
|
Returns or sets the username used to authenticate to the server.
It cannot be modified after Open is executed
|
Welcome
|
Welcome message as returned by the server.
|
Methods
Abort
|
Abort and disconnect from the server.
|
Close
|
Logout from the server and disconnect.
|
Exec
|
Sends Data directly to the server.
|
List
|
Returns a string array containing the ID and size of each message.
|
ListUniqueID
|
Returns a string array containing the Unique ID of each message.
|
Open
|
Connects to the server and authenticates the client.
|
Ping
|
Sends a dummy command to the server to keep alive the connection. It should be used inside a timer to avoid a sudden disconnection.
|
Refresh
|
Clear the internal message cache, and hence refresh the message box view of the Pop3Client client.
|
Remove
|
Remove a specific message from the mail box.
|
Reset
|
Resets the inbox to it's original state. Any deleted message is restored.
|
Stat
|
Returns an array containing the inbox count and size.
|