The POP3Message class provides POP3 email functionality.

The POP3Message class defines the following attributes.

Attribute

Returns

Description

body

String

Message body

from

String

Sender

id

Number

Message ID in current session

subject

String

Message subject

to

String

Recepient

The POP3Message class defines the following methods.

Method

Returns

Description

deleteFromServer():Object

Object

Deletes a message from the POP3 server. The server marks the message for deletion but does not delete it immediately. If you decide to unmark the message, you must use call the reset() command from the POP3Client class. The server deletes all messages marked for deletion when you call the logout() command from the POP3Client class.

getHeader(String):string

String

Gets the header value.