$mbox = imap_open("{localhost:143}INBOX","user_id","password");$mbox = imap_open("{localhost/pop3:110}INBOX","user_id","password");$nntp = imap_open("{localhost/nntp:119}comp.test","","");看你要连的是哪种服务器