imap_unsubscribe
(PHP 4, PHP 5)
imap_unsubscribe — Unsubscribe from a mailbox
說明
bool imap_unsubscribe
( string $imap_stream
, string $mailbox
)
Unsubscribe from the specified mailbox .
參數
- imap_stream
-
An IMAP stream returned by imap_open().
- mailbox
-
The mailbox name, see imap_open() for more information
Return值
如果成功則回傳 TRUE,失敗則回傳 FALSE。