function imap mailboxmsginfo


imap_mailboxmsginfoPodręcznik PHPPoprzedniNastępnyimap_mailboxmsginfo (PHP 3>= 3.0.2, PHP 4 )imap_mailboxmsginfo -- Get information about the current mailboxDescriptionobject imap_mailboxmsginfo ( resource imap_stream) Returns information about the current mailbox. Returns FALSE on failure. The imap_mailboxmsginfo() function checks the current mailbox status on the server. It is similar to imap_status(), but will additionally sum up the size of all messages in the mailbox, which will take some additional time to execute. It returns the information in an object with following properties. Tabela 1. Mailbox propertiesDatedate of last changeDriverdriverMailboxname of the mailboxNmsgsnumber of messagesRecentnumber of recent messagesUnreadnumber of unread messagesDeletednumber of deleted messagesSizemailbox size Przykład 1. imap_mailboxmsginfo() example<?php $mbox = imap_open("{your.imap.host}INBOX","username", "password") or die("can't connect: ".imap_last_error()); $check = imap_mailboxmsginfo($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" ; print "Unread: " . $check->Unread ."<br>\n" ; print "Deleted: " . $check->Deleted ."<br>\n" ; print "Size: " . $check->Size ."<br>\n" ; } else { print "imap_check() failed: ".imap_last_error(). "<br>\n"; } imap_close($mbox); ?> PoprzedniSpis treściNastępnyimap_mailPoczątek rozdziałuimap_mime_header_decode

Wyszukiwarka

Podobne podstrony:
function imap mailboxmsginfo
function imap mailboxmsginfo
function imap listscan
function imap unsubscribe
function imap get quota
function imap listmailbox
function imap deletemailbox
function imap 8bit
function imap expunge
function imap errors
function imap mail copy
function imap mail compose
function imap utf7 encode
function imap list
function imap mail
function imap fetchheader

więcej podobnych podstron