These functions enable you to operate with the IMAP protocol, as well as the NNTP, POP3 and local mailbox access methods.
Be warned however, that some of IMAP functions will not work correctly with the POP protocol.