(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: