standard.net.mail.pop3_get_message

pop3_get_message is available since version 1.0.

Prototype:

string pop3_get_message(number pop3_handle, number message_index)

Parameters

pop3_handle
pop3 connection handle as returned by pop3_open or pop3_open_secured
message_index
the index of the message starting 0; must be smaller than pop3_count_messages

Description:

Gets a message from a POP3 server.

Return value:

Returns a string containing the message, or an empty string. Check with pop3_error if any error was encountered.