imap_close

(PHP 4, PHP 5, PHP 7)

imap_closeClose an IMAP stream

설명

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

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를 반환합니다.

참고

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top