imap_num_msg

(PHP 4, PHP 5, PHP 7, PHP 8)

imap_num_msgLiefert die Anzahl der Nachrichten im aktuellen Postfach

Beschreibung

imap_num_msg ( resource $imap ) : int|false

Gibt die Anzahl der Nachrichten im aktuellen Postfach zurück.

Parameter-Liste

imap

Eine von imap_open() zurückgegebene IMAP-Verbindung.

Rückgabewerte

Gibt die Anzahl der Nachrichten im aktuellen Postfach als Integer zurück, oder false im Fehlerfall.

Siehe auch

  • imap_num_recent() - Liefert die Anzahl der kürzlich eingetroffenen Nachrichten
  • imap_status() - Liefert Statusinformationen zum angegebenen Postfach

add a note add a note

User Contributed Notes 1 note

up
-1
comlampe at aol dot com
20 years ago
While imap_status sets "read"-Flag when used, imap_num_msg does not touch any flag.
To Top