I am trying to loop thru Inbox and select any one email and save it as
a RTF file. Here is the code I am using
Outlook.Explore r myOutlookExplor er =
myOutlookApp.Ex plorers.Add(myO utlookNamespace .GetDefaultFold er(Outlook.OlDe faultFolders.ol FolderInbox),
Outlook.OlFolde rDisplayMode.ol FolderDisplayNo rmal);
myOutlookExplor er.Activate();
Outlook.MailIte m myMailItem = (Outlook.MailIt em)
myOutlookExplor er.CurrentFolde r.Items.Item(1) ;
myMailItem.Save As("D:\temp.rf" , OlSaveAsType.ol RTF);
This is the error message I am getting .
Additional information: Could not complete the operation. One or more
parameter values are not valid.
Any suggestions will be appreciated.
Thanks