(PHP3 >= 3.0.3, PHP4 )
int imap_msgno (int imap_stream, int uid)
int imap_msgno
This function returns the message sequence number for the given UID. It is the inverse of imap_uid().