imap_open

imap_open

(PHP 4, PHP 5, PHP 7)

imap_openOpen an IMAP stream to a mailbox

Description

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,