imap_mail_copy

(PHP 4, PHP 5, PHP 7) Copy specified messages to a mailbox bool imap_mail_copy ( resource $imap_stream, string $msglist, string $mailbox [, int $options = 0 ] ) Copies mail messages specified by msglist to specified mailbox. Parameters: imap_stream An IMAP stream returned by imap_open(). msglist msglist is a range not just message number

imap_mail_compose

(PHP 4, PHP 5, PHP 7) Create a MIME message based on given envelope and body sections string imap_mail_compose ( array $envelope, array $body ) Create a MIME message based on the given envelope and body sections. Parameters: envelope An associative array of headers fields. Valid keys are: "remail", "return_path", "date", "from", "reply_to", "in_reply_to", "subject", "to",

imap_lsub

(PHP 4, PHP 5, PHP 7) List all the subscribed mailboxes array imap_lsub ( resource $imap_stream, string $ref, string $pattern ) Gets an array of all the mailboxes that you have subscribed. Parameters: imap_stream An IMAP stream returned by imap_open(). ref ref should normally be just the server specification as described in imap_open()

imap_listsubscribed

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

imap_listscan

(PHP 4, PHP 5, PHP 7) Returns the list of mailboxes that matches the given text array imap_listscan ( resource $imap_stream, string $ref, string $pattern, string $content ) Returns an array containing the names of the mailboxes that have content in the text of the mailbox. This function is similar to imap_listmailbox(), but it will additionally check for the presence of the string content inside the mailbox data.

imap_listmailbox

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

imap_list

(PHP 4, PHP 5, PHP 7) Read the list of mailboxes array imap_list ( resource $imap_stream, string $ref, string $pattern ) Read the list of mailboxes. Parameters: imap_stream An IMAP stream returned by imap_open(). ref ref should normally be just the server specification as described in imap_open(). pattern

imap_last_error

(PHP 4, PHP 5, PHP 7) Gets the last IMAP error that occurred during this page request string imap_last_error ( void ) Gets the full text of the last IMAP error message that occurred on the current page. The error stack is untouched; calling imap_last_error() subsequently, with no intervening errors, will return the same error. Returns: Returns the full text of the last IMAP error message that occu

imap_headers

(PHP 4, PHP 5, PHP 7) Returns headers for all messages in a mailbox array imap_headers ( resource $imap_stream ) Returns headers for all messages in a mailbox. Parameters: imap_stream An IMAP stream returned by imap_open(). Returns: Returns an array of string formatted with header info. One element per mail message.

imap_headerinfo

(PHP 4, PHP 5, PHP 7) Read the header of the message object imap_headerinfo ( resource $imap_stream, int $msg_number [, int $fromlength = 0 [, int $subjectlength = 0 [, string $defaulthost = NULL ]]] ) Gets information about the given message number by reading its headers. Parameters: imap_stream An IMAP stream returned by imap_open(). msg_number