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

imap_unsubscribe

PHP function Edit on GitHub ✎

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

Unsubscribe from a mailbox

Description

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

Unsubscribe from 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-unsubscribe.xml · from the official PHP manual (php/doc-en)