imap_search

(PHP 4, PHP 5, PHP 7) This function returns an array of messages matching the given search criteria array imap_search ( resource $imap_stream, string $criteria [, int $options = SE_FREE [, string $charset = NULL ]] ) This function performs a search on the mailbox currently opened in the given IMAP stream. For example, to match all unanswered messages sent by Mom, you'd use: "UNANSWERED FROM mom". Searches appear to be ca

imap_scanmailbox

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

imap_scan

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

imap_savebody

(PHP 5, PHP 7 >= 5.1.3) Save a specific body section to a file bool imap_savebody ( resource $imap_stream, mixed $file, int $msg_number [, string $part_number = "" [, int $options = 0 ]] ) Saves a part or the whole body of the specified message. Parameters: imap_stream An IMAP stream returned by imap_open(). file The path to the save

imap_rfc822_write_address

(PHP 4, PHP 5, PHP 7) Returns a properly formatted email address given the mailbox, host, and personal info string imap_rfc822_write_address ( string $mailbox, string $host, string $personal ) Returns a properly formatted email address as defined in » RFC2822 given the needed information. Parameters: mailbox The mailbox name, see imap_open() for more information

imap_rfc822_parse_headers

(PHP 4, PHP 5, PHP 7) Parse mail headers from a string object imap_rfc822_parse_headers ( string $headers [, string $defaulthost = "UNKNOWN" ] ) Gets an object of various header elements, similar to imap_header(). Parameters: headers The parsed headers data defaulthost The default host name Returns: Returns an

imap_rfc822_parse_adrlist

(PHP 4, PHP 5, PHP 7) Parses an address string array imap_rfc822_parse_adrlist ( string $address, string $default_host ) Parses the address string as defined in » RFC2822 and for each address. Parameters: address A string containing addresses default_host The default host name Returns: Returns an array of objec

imap_reopen

(PHP 4, PHP 5, PHP 7) Reopen IMAP stream to new mailbox bool imap_reopen ( resource $imap_stream, string $mailbox [, int $options = 0 [, int $n_retries = 0 ]] ) Reopens the specified stream to a new mailbox on an IMAP or NNTP server. Parameters: imap_stream An IMAP stream returned by imap_open(). mailbox The mailbox name, see imap_open(

imap_renamemailbox

(PHP 4, PHP 5, PHP 7) Rename an old mailbox to new mailbox bool imap_renamemailbox ( resource $imap_stream, string $old_mbox, string $new_mbox ) This function renames on old mailbox to new mailbox (see imap_open() for the format of mbox names). Parameters: imap_stream An IMAP stream returned by imap_open(). old_mbox The old mailbox name,

imap_rename

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