Function prototype: int imap_open (String server address and directory name, String user name, String password)
Server Address and Directory Name Format: {Server Address / Protocol Type (Default IMAP): Port (IMAP Default 143 / POP3 Default 110)} Directory Name
For example, use the POP3 protocol to open the user someone in the mail.php21.com's inbox (Inbox), then the connection statement is written: $ IMAP = IMAP_Open ("{mail.php21.com/pop3:110 }inbox", "Someone "" Password ");