imap_qprint

(PHP 4, PHP 5, PHP 7) Convert a quoted-printable string to an 8 bit string string imap_qprint ( string $string ) Convert a quoted-printable string to an 8 bit string according to » RFC2045, section 6.7. Parameters: string A quoted-printable string Returns: Returns an 8 bits string.

imap_ping

(PHP 4, PHP 5, PHP 7) Check if the IMAP stream is still active bool imap_ping ( resource $imap_stream ) imap_ping() pings the stream to see if it's still active. It may discover new mail; this is the preferred method for a periodic "new mail check" as well as a "keep alive" for servers which have inactivity timeout. Parameters: imap_stream An IMAP stream returned by imap_o

imap_open

(PHP 4, PHP 5, PHP 7) Open an IMAP stream to a mailbox resource imap_open ( string $mailbox, string $username, string $password [, int $options = 0 [, int $n_retries = 0 [, array $params = NULL ]]] ) Opens an IMAP stream to a mailbox. This function can also be used to open streams to POP3 and NNTP servers, but some functions and features are only available on IMAP servers. Parameters:

imap_num_recent

(PHP 4, PHP 5, PHP 7) Gets the number of recent messages in current mailbox int imap_num_recent ( resource $imap_stream ) Gets the number of recent messages in the current mailbox. Parameters: imap_stream An IMAP stream returned by imap_open(). Returns: Returns the number of recent messages in the current mailbox, as an integer.

imap_num_msg

(PHP 4, PHP 5, PHP 7) Gets the number of messages in the current mailbox int imap_num_msg ( resource $imap_stream ) Gets the number of messages in the current mailbox. Parameters: imap_stream An IMAP stream returned by imap_open(). Returns: Return the number of messages in the current mailbox, as an integer.

imap_msgno

(PHP 4, PHP 5, PHP 7) Gets the message sequence number for the given UID int imap_msgno ( resource $imap_stream, int $uid ) Returns the message sequence number for the given uid. This function is the inverse of imap_uid(). Parameters: imap_stream An IMAP stream returned by imap_open(). uid The message UID Returns:

imap_mime_header_decode

(PHP 4, PHP 5, PHP 7) Decode MIME header elements array imap_mime_header_decode ( string $text ) Decodes MIME message header extensions that are non ASCII text (see » RFC2047). Parameters: text The MIME text Returns: The decoded elements are returned in an array of objects, where each object has two properties, charset and text. If the element

imap_mailboxmsginfo

(PHP 4, PHP 5, PHP 7) Get information about the current mailbox object imap_mailboxmsginfo ( resource $imap_stream ) Checks the current mailbox status on the server. It is similar to imap_status(), but will additionally sum up the size of all messages in the mailbox, which will take some additional time to execute. Parameters: imap_stream An IMAP stream returned by imap_op

imap_mail

(PHP 4, PHP 5, PHP 7) Send an email message bool imap_mail ( string $to, string $subject, string $message [, string $additional_headers = NULL [, string $cc = NULL [, string $bcc = NULL [, string $rpath = NULL ]]]] ) This function allows sending of emails with correct handling of Cc and Bcc receivers. The parameters to, cc and bcc are all strings and are all parsed as » RFC822 address lists. Parameters

imap_mail_move

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