-type PARTSTRUCTURE_PARAM = object{attribute:string, value?:string} -type PARTSTRUCTURE = object{ id?:string, encoding:int|mixed, partStructure:object[], parameters:PARTSTRUCTURE_PARAM[], dparameters:object{attribute:string, value:string}[], parts:array<int, object{disposition?:string}>, type:int, subtype:string }
Открытые статические члены | |
| static | append ($imap_stream, string $mailbox, string $message, string $options=null, string $internal_date=null) |
| static | body ($imap_stream, int $msg_number, int $options=0) |
| static | clearflag_full ($imap_stream, $sequence, string $flag, int $options=0) |
| static | createmailbox ($imap_stream, string $mailbox) |
| static | deletemailbox ($imap_stream, string $mailbox) |
| static | expunge ($imap_stream) |
| static | fetch_overview ($imap_stream, $sequence, int $options=0) |
| static | fetchbody ($imap_stream, int $msg_number, $section, int $options=0) |
| static | fetchheader ($imap_stream, int $msg_number, int $options=0) |
| static | fetchstructure ($imap_stream, int $msg_number, int $options=0) |
| static | get_quotaroot ($imap_stream, string $quota_root) |
| static | getmailboxes ($imap_stream, string $ref, string $pattern) |
| static | getsubscribed ($imap_stream, string $ref, string $pattern) |
| static | headers ($imap_stream) |
| static | listOfMailboxes ($imap_stream, string $ref, string $pattern) |
| static | mail_compose (array $envelope, array $body) |
| static | mail_copy ($imap_stream, $msglist, string $mailbox, int $options=0) |
| static | mail_move ($imap_stream, $msglist, string $mailbox, int $options=0) |
| static | mailboxmsginfo ($imap_stream) |
| static | num_msg ($imap_stream) |
| static | open (string $mailbox, string $username, string $password, int $options=0, int $n_retries=0, array $params=[]) |
| static | ping ($imap_stream) |
| static | renamemailbox ($imap_stream, string $old_mbox, string $new_mbox) |
| static | reopen ($imap_stream, string $mailbox, int $options=0, int $n_retries=0) |
| static | savebody ($imap_stream, $file, int $msg_number, string $part_number= '', int $options=0) |
| static | search ($imap_stream, string $criteria, int $options=SE_FREE, string $charset=null, bool $encodeCriteriaAsUtf7Imap=false) |
| static | setflag_full ($imap_stream, $sequence, string $flag, int $options=NIL) |
| static | status ($imap_stream, string $mailbox, int $options) |
| static | subscribe ($imap_stream, string $mailbox) |
| static | unsubscribe ($imap_stream, string $mailbox) |
| static | encodeStringToUtf7Imap (string $str) |
| static | decodeStringFromUtf7ImapToUtf8 (string $str) |
Поля данных | |
| const | SORT_CRITERIA |
| const | TIMEOUT_TYPES |
| const | CLOSE_FLAGS |
|
static |
| resource | false | $imap_stream |
|
static |
| false | resource | $imap_stream |
|
static |
| false | resource | $imap_stream | |
| int | string | $sequence |
|
static |
| false | resource | $imap_stream |
|
static |
Returns the provided string in UTF-8 encoded format.
-pure
|
static |
| false | resource | $imap_stream |
|
static |
Returns the provided string in UTF7-IMAP encoded format.
-pure
|
static |
| false | resource | $imap_stream |
|
static |
| false | resource | $imap_stream | |
| int | string | $sequence |
-return list<object>
-var list<object>
|
static |
| false | resource | $imap_stream | |
| string | int | $section |
|
static |
| false | resource | $imap_stream |
|
static |
| false | resource | $imap_stream | -return PARTSTRUCTURE |
-var PARTSTRUCTURE
|
static |
| false | resource | $imap_stream |
|
static |
| resource | false | $imap_stream |
-return list<object>
-var list<object>
|
static |
| resource | false | $imap_stream |
-return list<object>
-var list<object>
|
static |
| false | resource | $imap_stream |
|
static |
| false | resource | $imap_stream |
-return list<string>
|
static |
| mixed[] | An associative array of headers fields |
| mixed[] | An indexed array of bodies |
-param array{ subject?:string } $envelope An associative array of headers fields (docblock is not complete) -param list<array{ type?:int, encoding?:int, charset?:string, subtype?:string, description?:string, disposition?:array{filename:string} }> $body An indexed array of bodies (docblock is not complete)
-pure
|
static |
| false | resource | $imap_stream | |
| int | string | $msglist |
|
static |
| false | resource | $imap_stream | |
| int | string | $msglist |
|
static |
| false | resource | $imap_stream |
|
static |
| false | resource | $imap_stream |
|
static |
-param array{DISABLE_AUTHENTICATOR:string}|array<empty, empty> $params
|
static |
| resource | false | $imap_stream | -pure |
|
static |
| false | resource | $imap_stream |
|
static |
| false | resource | $imap_stream |
|
static |
| false | resource | $imap_stream | |
| string | false | resource | $file |
|
static |
| false | resource | $imap_stream |
-return list<int>
-var list<int>
|
static |
| false | resource | $imap_stream | |
| int | string | $sequence |
|
static |
| false | resource | $imap_stream | -param SA_MESSAGES|SA_RECENT|SA_UNSEEN|SA_UIDNEXT|SA_UIDVALIDITY|SA_ALL $flags |
|
static |
| false | resource | $imap_stream |
|
static |
| false | resource | $imap_stream |
| const CLOSE_FLAGS |
-var list<int>
| const SORT_CRITERIA |
-var list<int>
| const TIMEOUT_TYPES |
-var list<int>