true ) ); // Authenticate to the IMAP server $imap->authenticate( "user", "password" ); // Select the Inbox mailbox $imap->selectMailbox( 'Inbox' ); // The other IMAP examples apply here, with the distinction that unique IDs are // used to refer to messages instead of message numbers ?>