PHP3 Manual
PrevNext

imap_check

imap_check -- Check current mailbox

Description

array imap_check(int imap_stream);

Returns false if there are no new messages, else returns information about the current mailbox.

imap_check() function checks the current mailbox status on the server and returns the information in an associative array with following elements.

Date : date of the message
Driver : driver
Mailbox : name of the mailbox
Nmsgs : number of messages
Recent : number of recent messages


PrevHomeNext
imap_bodyUpimap_close