PHP Manual
Prev |  | Next

# imap_createmailbox

imap_createmailbox -- Create a new mailbox

## Description

`int imap_createmailbox`(int imap_stream, string mbox);

imap_createmailbox() creates a new mailbox specified by `mbox`. Names containing international characters should be encoded by imap_utf7_encode()

Returns true on success and false on error.

See also imap_renamemailbox(), imap_deletemailbox() and imap_open() for the format of `mbox` names.

Prev | Home | Next
imap_close | Up | imap_delete