PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

imap_expunge> <imap_deletemailbox
Last updated: Sun, 25 Nov 2007

view this page in

imap_errors

(PHP 4, PHP 5)

imap_errors — 이 함수는 현재 페이지 요구(page request)동안에, 또는 에러 스택(error stack)이 리셋(reset)된 이후에 발생한 IMAP 에러(물론 있다면)를 모두 돌려준다

Description

array imap_errors ( void )

이 함수는 가장 나중의 imap_errors()함수의 호출 이후, 또는 페이지의 시작때부터 발생한 모든 IMAP 에러 메시지들의 배열을 돌려준다. imap_errors()함수가 호출되면, 에러 스택(error stack) 은 즉시 클리어(clear)된다.



add a note add a note User Contributed Notes
imap_errors
Jeremy Glover
03-Apr-2007 11:41
When calling imap_close($mbox), notices will be generated for each error that has occurred within the imap functions.  To suppress these error messages (including Mailbox is empty, which is not really an error) simply call imap_errors() and then imap_close($mbox).

imap_expunge> <imap_deletemailbox
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites