imap_msgno
(PHP 3>= 3.0.3, PHP 4 )
imap_msgno -- This function returns the message sequence number for the given UIDDescription
int imap_msgno ( resource imap_stream, int uid)This function returns the message sequence number for the given UID. It is the inverse of imap_uid().