note 20209 deleted from function.imap-check by didou

From: Date: Wed, 10 Dec 2003 17:35:20 +0000
Subject: note 20209 deleted from function.imap-check by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-61760@lists.php.net to get a copy of this message
Note Submitter: albertof@deltasoft.com.ar ---- $mbox = imap_open ("{your.imap.host}INBOX", "username", "password") || die ("can't connect: " . imap_last_error()); $check = imap_check ($mbox); if($check) { print "Date: " . $check->Date . "<br>\n" ; print "Driver: " . $check->Driver . "<br>\n" ; print "Mailbox: " . $check->Mailbox . "<br>\n" ; print "Messages: " . $check->Nmsgs . "<br>\n" ; print "Recent: " . $check->Recent . "<br>\n" ; } else { print "imap_check() failed: " . imap_last_error() . "<br>\n"; } imap_close ($mbox);

« previous php.notes (#61760) next »