Use this sample application to search for messages in a folder (for example, your Inbox) based on fields such as From, Sent To, Subject, Message Body, Importance, Read Status, and Message Size. This sample application uses the authenticated logon sample. It is written in JavaScript, HTML, and ASP.