If you want to return a new message as an object (for example Outlook.MailItem), you should try the following:
Outlook.Application oApp = new Outlook.Application();
Outlook.MailItem oMsg = explorer.GetType().InvokeMember("ActiveInlineResponse",
System.Reflection.BindingFlags.GetProperty |
System.Reflection.BindingFlags.Instance |
System.Reflection.BindingFlags.Public, null, explorer, null) as Outlook.MailItem;
You should be able to attach the file to the currently attached Outlook message as needed.
source
share