현재 메일 박스에 대한 정보를 리턴한다. 실패하면 FALSE를 리턴한다.
imap_check() 함수는 서버에서 현재 메일박스의 상태를 체크하고 다음 속성을 갖는 객체로 정보를 리턴한다:
Date - last change of mailbox contents
Driver - protocol used to access this mailbox: POP3, IMAP, NNTP
Mailbox - the mailbox name
Nmsgs - number of messages in the mailbox
Recent - number of recent messages in the mailbox