PHP 8.4.6 Released!

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(IMAP\Connection $imap): int|false

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

Parameter-Liste

imap

Eine IMAP\Connection-Instanz.

Rückgabewerte

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

Changelog

Version Beschreibung
8.1.0 Der Parameter imap erwartet nun eine IMAP\Connection-Instanz; vorher wurde eine gültige imap-Ressource erwartet.

Siehe auch

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

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant