Last post Jun 08, 2010 12:57 AM by praveenkumarvpk
Apr 06, 2010 10:36 PM|salugusanthosh|LINK
I bit hurry to do this task please try help me,Actually Now iam reading Emails from MSOutlook ,that is working fine .i created one folder in MSOutlook.After reading mails immidiatly i want those mails to that perticuler folder and clears from inbox.
please try to help and her is my code.
Outlook.Application oOutlook = new Outlook.Application();
Outlook.NameSpace oNs = oOutlook.GetNamespace("MAPI");
Outlook.MAPIFolder inBox = oNs.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox);
Outlook.Items inBoxItems = inBox.Items;
Outlook.MailItem newEmail = null;
inBoxItems = inBoxItems.Restrict("[Unread] = true");
foreach (object collectionItem in inBoxItems)
newEmail = collectionItem as Outlook.MailItem;
if (newEmail != null)
PLease try to Help i am in urgent
Jun 08, 2010 12:57 AM|praveenkumarvpk|LINK
neeyabba...!!! question lo clarity miss ayindira.... yenta hurryga unte matram question clearga adagava.
First frame your mind and then post it.