While imap_status sets "read"-Flag when used, imap_num_msg does not touch any flag.
(PHP 4, PHP 5, PHP 7, PHP 8)
imap_num_msg — Liefert die Anzahl der Nachrichten im aktuellen Postfach
$imap
) : int|falseGibt die Anzahl der Nachrichten im aktuellen Postfach zurück.
Gibt die Anzahl der Nachrichten im aktuellen Postfach als Integer zurück,
oder false
im Fehlerfall.
While imap_status sets "read"-Flag when used, imap_num_msg does not touch any flag.