Click here to Skip to main content
15,938,446 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want items from outlook sentMail Folder where toMailAddress is ""

for that i have done like this


but i am getting error "RecipientEmailAddress" is not a property.
Updated 10-Sep-12 20:12pm
Kuthuparakkal 7-Sep-12 9:21am    
What is your question ?
Ed Nutting 7-Sep-12 14:37pm    
OP's answer should probably be: "What IS a question?"

Kuthuparakkal 11-Sep-12 2:18am    
If your Outlook is using MS Exchange Server, then do not depend on client(Outlook), use exchange services API. The standard way of accessing emails from exchange server.

1 solution


you need to add a reference to "Microsoft.Office.Interop.Outlook" to your project and then use this code:
using OutLook = Microsoft.Office.Interop.Outlook;

OutLook.Application oApp;
OutLook._NameSpace oNS;
OutLook.MAPIFolder oFolder;

oApp = new OutLook.Application();
oNS = (OutLook._NameSpace)oApp.GetNamespace("MAPI");
oFolder = oNS.GetDefaultFolder(OutLook.OlDefaultFolders.olFolderSentMail);

OutLook.Items items = oFolder.Items;
foreach (OutLook.MailItem mail in items)
Share this answer
Prasannala 18-Sep-12 8:08am    
I am taking reference Microsoft.Office.Interop.Outlook .Even I am getting same error.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900