imap_fetchheader

imap_fetchheader

(PHP 4, PHP 5, PHP 7)

imap_fetchheaderReturns header for a message

Description

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.

Parameters

imap_stream

An IMAP