imap_msgno

imap_msgno -- This function returns the message sequence number for the given UID

Description

int imap_msgno(int imap_stream, int uid);

This function returns the message sequence number for the given UID. It is the inverse of imap_uid().