Hi,

I have been trying to find some example of how to check for the X-
Priority flag using Net/IMAP in ruby.  I have tried to do a search for
it:

imap.search(["FLAGGED"]).collect

And I have tried to do a fetch on a given message to try to find it:

fetch_result = imap.fetch(msgID, ["UID", "FLAGGED"])

I can't find any example of this anywhere, and the docs for Net/IMAP
just simply say "Flag indicating a message has been flagged for
special or urgent attention".

Does anyone have some example of how I can retrieve this information?

Thanks,
coLLin