imap_headers

imap_headers -- Returns headers for all messages in a mailbox

Description

array imap_headers(int imap_stream);

Returns an array of string formatted with header info. One element per mail message.