imap_uid

(PHP 4, PHP 5, PHP 7)

imap_uidThis function returns the UID for the given message sequence number

说明

imap_uid ( resource $imap_stream , int $msg_number ) : int

This function returns the UID for the given message sequence number. An UID is a unique identifier that will not change over time while a message sequence number may change whenever the content of the mailbox changes.

This function is the inverse of imap_msgno().

参数

imap_stream

imap_open() 返回的 IMAP 流。

msg_number

The message number.

返回值

The UID of the given message.

注释

Note:

This function is not supported by POP3 mailboxes.

参见

  • imap_msgno() - Gets the message sequence number for the given UID

相关文章
php ibm db2 函数 returns the number of rows affected by an sql statementphp frontbase 函数 returns the error message from previous operationphp 函数处理 函数 returns the number of arguments passed to the functionphp grapheme 函数 function to extract a sequence of default grapheme clusters from a text buffer which must be encoded in utf 8php imap 函数 read an overview of the information in the headers of the given messagephp imap 函数 returns header for a messagephp imap 函数 returns the list of mailboxes that matches the given textphp imap 函数 create a mime message based on given envelope and body sectionsphp imap 函数 gets the message sequence number for the given uidphp imap 函数 returns a properly formatted email address given the mailbox host and personal infophp imap 函数 this function returns an array of messages matching the given search criteriaphp imap 函数 returns a tree of threaded messagephp imap 函数 this function returns the uid for the given message sequence numberphp maxdb 函数 returns the error code for the most recent function callphp maxdb 函数 returns the number of parameter for the given statementphp maxdb 函数 returns the number of warnings from the last query for the given linkphp ncurses 函数 turn on the given attributes for soft function key labelsphp session pgsql 函数 returns number of errors and last error messagephp com 函数 returns the result of performing the power function with two variantsphp sdo das xml 函数 returns sdo das xml document object for a given path to xml instance document
关注编程学问公众号