imap_fetchheader

(PHP 4, PHP 5, PHP 7) Returns header for a message 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 stream returned by imap_open(). msg_number The message numbe

imap_fetchbody

(PHP 4, PHP 5, PHP 7) Fetch a particular section of the body of the message string imap_fetchbody ( resource $imap_stream, int $msg_number, string $section [, int $options = 0 ] ) Fetch of a particular section of the body of the specified messages. Body parts are not decoded by this function. Parameters: imap_stream An IMAP stream returned by imap_open().

imap_fetch_overview

(PHP 4, PHP 5, PHP 7) Read an overview of the information in the headers of the given message array imap_fetch_overview ( resource $imap_stream, string $sequence [, int $options = 0 ] ) This function fetches mail headers for the given sequence and returns an overview of their contents. Parameters: imap_stream An IMAP stream returned by imap_open(). s

imap_expunge

(PHP 4, PHP 5, PHP 7) Delete all messages marked for deletion bool imap_expunge ( resource $imap_stream ) Deletes all the messages marked for deletion by imap_delete(), imap_mail_move(), or imap_setflag_full(). Parameters: imap_stream An IMAP stream returned by imap_open(). Returns: Returns TRUE.

imap_errors

(PHP 4, PHP 5, PHP 7) Returns all of the IMAP errors that have occurred array imap_errors ( void ) Gets all of the IMAP errors (if any) that have occurred during this page request or since the error stack was reset. When imap_errors() is called, the error stack is subsequently cleared. Returns: This function returns an array of all of the IMAP error messages generated since the last imap_errors(

imap_deletemailbox

(PHP 4, PHP 5, PHP 7) Delete a mailbox bool imap_deletemailbox ( resource $imap_stream, string $mailbox ) Deletes the specified mailbox. Parameters: imap_stream An IMAP stream returned by imap_open(). mailbox The mailbox name, see imap_open() for more information Returns: Returns TRUE on success or FALSE on failu

imap_delete

(PHP 4, PHP 5, PHP 7) Mark a message for deletion from current mailbox bool imap_delete ( resource $imap_stream, int $msg_number [, int $options = 0 ] ) Marks messages listed in msg_number for deletion. Messages marked for deletion will stay in the mailbox until either imap_expunge() is called or imap_close() is called with the optional parameter CL_EXPUNGE. Parameters: imap_stream

imap_createmailbox

(PHP 4, PHP 5, PHP 7) Create a new mailbox bool imap_createmailbox ( resource $imap_stream, string $mailbox ) Creates a new mailbox specified by mailbox. Parameters: imap_stream An IMAP stream returned by imap_open(). mailbox The mailbox name, see imap_open() for more information. Names containing international characters should be encode

imap_create

(PHP 4, PHP 5, PHP 7) Alias of imap_createmailbox() This function is an alias of: imap_createmailbox().

imap_close

(PHP 4, PHP 5, PHP 7) Close an IMAP stream bool imap_close ( resource $imap_stream [, int $flag = 0 ] ) Closes the imap stream. Parameters: imap_stream An IMAP stream returned by imap_open(). flag If set to CL_EXPUNGE, the function will silently expunge the mailbox before closing, removing all messages marked for deletion. You can achiev