(PHP 3>= 3.0.3, PHP 4 )
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().