imap_undelete

(PHP 4, PHP 5, PHP 7) Unmark the message which is marked deleted bool imap_undelete ( resource $imap_stream, int $msg_number [, int $flags = 0 ] ) Removes the deletion flag for a specified message, which is set by imap_delete() or imap_mail_move(). Parameters: imap_stream An IMAP stream returned by imap_open(). msg_number The message num

imap_uid

(PHP 4, PHP 5, PHP 7) This function returns the UID for the given message sequence number int imap_uid ( resource $imap_stream, int $msg_number ) This function returns the UID for the given message sequence number. An UID is a unique identifier that will not change over time while a message sequence number may change whenever the content of the mailbox changes. This function is the inverse of imap_msgno().

imap_timeout

(PHP 4 >= 4.3.3, PHP 5, PHP 7) Set or fetch imap timeout mixed imap_timeout ( int $timeout_type [, int $timeout = -1 ] ) Sets or fetches the imap timeout. Parameters: timeout_type One of the following: IMAP_OPENTIMEOUT, IMAP_READTIMEOUT, IMAP_WRITETIMEOUT, or IMAP_CLOSETIMEOUT. timeout The timeout, in seconds. Re

imap_thread

(PHP 4 >= 4.0.7, PHP 5, PHP 7) Returns a tree of threaded message array imap_thread ( resource $imap_stream [, int $options = SE_FREE ] ) Gets a tree of a threaded message. Parameters: imap_stream An IMAP stream returned by imap_open(). options An IMAP stream returned by imap_open(). Returns: imap_thread() retu

imap_subscribe

(PHP 4, PHP 5, PHP 7) Subscribe to a mailbox bool imap_subscribe ( resource $imap_stream, string $mailbox ) Subscribe to a new 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 failur

imap_status

(PHP 4, PHP 5, PHP 7) Returns status information on a mailbox object imap_status ( resource $imap_stream, string $mailbox, int $options ) Gets status information about the given mailbox. Parameters: imap_stream An IMAP stream returned by imap_open(). mailbox The mailbox name, see imap_open() for more information opt

imap_sort

(PHP 4, PHP 5, PHP 7) Gets and sort messages array imap_sort ( resource $imap_stream, int $criteria, int $reverse [, int $options = 0 [, string $search_criteria = NULL [, string $charset = NULL ]]] ) Gets and sorts message numbers by the given parameters. Parameters: imap_stream An IMAP stream returned by imap_open(). criteria Criteria

imap_setflag_full

(PHP 4, PHP 5, PHP 7) Sets flags on messages bool imap_setflag_full ( resource $imap_stream, string $sequence, string $flag [, int $options = NIL ] ) Causes a store to add the specified flag to the flags set for the messages in the specified sequence. Parameters: imap_stream An IMAP stream returned by imap_open(). sequence A sequence of

imap_setacl

(PHP 4 >= 4.0.7, PHP 5, PHP 7) Sets the ACL for a given mailbox bool imap_setacl ( resource $imap_stream, string $mailbox, string $id, string $rights ) Sets the ACL for a giving mailbox. Parameters: imap_stream An IMAP stream returned by imap_open(). mailbox The mailbox name, see imap_open() for more information

imap_set_quota

(PHP 4 >= 4.0.5, PHP 5, PHP 7) Sets a quota for a given mailbox bool imap_set_quota ( resource $imap_stream, string $quota_root, int $quota_limit ) Sets an upper limit quota on a per mailbox basis. Parameters: imap_stream An IMAP stream returned by imap_open(). quota_root The mailbox to have a quota set. This should follow the IMAP sta