G
Guest
Hi,
I am trying to save Inbox selected message in C:
I have used following code
string SavedMessage = "C:\\AIA\\Message\\";
string strSaveName = "Test.msg";
Outlook._Application olApp = new Outlook.ApplicationClass();
Outlook._NameSpace olNs = olApp.GetNamespace("MAPI");Outlook.MAPIFolder
oContacts = olApp.ActiveExplorer().CurrentFolder;
Object selObject = olApp.ActiveExplorer().Selection[1];
FileSystemObject fso = new Scripting.FileSystemObjectClass();
//selObject.SaveAs strFolderPath & strSaveName, olMSG
But I can't find SaveAs option in selObject property. What I am missing here.
Thanks
Kannan
I am trying to save Inbox selected message in C:
I have used following code
string SavedMessage = "C:\\AIA\\Message\\";
string strSaveName = "Test.msg";
Outlook._Application olApp = new Outlook.ApplicationClass();
Outlook._NameSpace olNs = olApp.GetNamespace("MAPI");Outlook.MAPIFolder
oContacts = olApp.ActiveExplorer().CurrentFolder;
Object selObject = olApp.ActiveExplorer().Selection[1];
FileSystemObject fso = new Scripting.FileSystemObjectClass();
//selObject.SaveAs strFolderPath & strSaveName, olMSG
But I can't find SaveAs option in selObject property. What I am missing here.
Thanks
Kannan