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 eio 函数 returns number of requests to be processedphp 函数处理 函数 returns the number of arguments passed to the functionphp imap 函数 read the structure of a specified body section of a specific messagephp 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 number of parameter for the given statementphp maxdb 函数 returns the number of warnings from the last query for the given linkphp pcntl 函数 retrieve the error number set by the last pcntl function which failedphp session pgsql 函数 returns number of errors and last error messagephp sqlsrv 函数 returns the number of rows modified by the last insert update or delete query executedphp svn 函数 returns the length of a file from a given version of the fsphp sybase 函数 returns the last message from the serverphp mysqli stmt returns the number of field in the given statement
关注编程学问公众号