string imap_fetchheader ( resource $imap_stream , int $msg_number [, int $options = 0 ] )
This function causes a fetch of the complete, unfiltered » RFC2822 format header of the specified message.
Returns the header of the specified message as a text string.