Hi,
just came across your request. What exactly are you trying to do? I guess "mail" is a NetOffice.OutlookApi.MailItem? In this case the "attachment" should be a normal string, e.g.
just came across your request. What exactly are you trying to do? I guess "mail" is a NetOffice.OutlookApi.MailItem? In this case the "attachment" should be a normal string, e.g.
Outlook.MailItem myMessage = (Outlook.MailItem)outApp.CreateItem(NetOffice.OutlookApi.Enums.OlItemType.olMailItem);
myMessage.Attachments.Add("C:\\test.txt");