php8.5
Home/ Manual/ imap / functions/ imap_deletemailbox

imap_deletemailbox

PHP function Edit on GitHub ✎

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

Delete a mailbox

Description

imap_deletemailbox(IMAP\Connection $imap, string $mailbox): bool

Deletes the specified mailbox.

Parameters

mailbox

The mailbox name, see imap_open() for more information

Insecure

Return Values

Success

Changelog

VersionDescription

See Also

Source: reference/imap/functions/imap-deletemailbox.xml · from the official PHP manual (php/doc-en)