I Can't find the NewMessageRequest Function

Jun 2, 2010 at 7:33 PM
I try to get just the body of all email's in the inbox, I can't figure out how to access it, in the documentation it says to use this code:

NewMessageRequest nmr = new NewMessageRequest(client);
nmr.NewMessageRequestCompleted += new NewMessageRequestCompletedHandler(new_messages);
nmr.Start(); // checks for new messages in all folders
IFolder folder = client.MailboxManager.GetFolderByPath("INBOX");
nmr.Start(folder); // checks for new messages in the INBOX folder only

private void new_messages(IMessage[] msgs)
// do what you need to do here

Any help?