imap_close

(PHP 4, PHP 5, PHP 7)

imap_closeClose an IMAP stream

说锟斤拷

imap_close ( resource $imap_stream [, int $flag = 0 ] ) : bool

Closes the imap stream.

锟斤拷锟斤拷

imap_stream

锟斤拷 imap_open() 锟斤拷锟截碉拷 IMAP 锟斤拷锟斤拷

flag

If set to CL_EXPUNGE, the function will silently expunge the mailbox before closing, removing all messages marked for deletion. You can achieve the same thing by using imap_expunge()

锟斤拷锟斤拷值

锟缴癸拷时锟斤拷锟斤拷 TRUE锟斤拷 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE锟斤拷

锟轿硷拷