GetPop3MailListing (open)

This function will list the emails in the inbox and download their headers

Syntax

LOADLIB "wh::internet/pop3.whlib";

RECORD ARRAY FUNCTION GetPop3MailListing(INTEGER connectionid)

Parameters

INTEGER connectionid

ID of the connection

Return value

RECORD ARRAY

Record Array containing:

contenttype

Content type of the message, including any subtype information

date

Date the email was sent

headers

Full headers of the message

id

Message unique ID

messageid

Message-ID of the email

sender

Sender of the email (example "Name" )

size

Size of the email (in bytes)

subject

Subject of the email