Hi,
I use the Rebex library to create outlook files for my application. Once the file is saved, I then use outlook to open the file and send it. I save the files using this command:
MailMessage.Save(InternalFileName, MailFormat.OutlookMsg)
Once I open the file in Outlook, whenever I add an attachment like an excel files or another .msg file and send it, the receiver are unable to open the attachment. I get the following message:
"The operation failed, an object cannot be found"
However if I add the same attachments using code, I am able to open the attachments. So the issue is only if I drag the attachments into the opened .msg file or attach it using the "Attach file" button.
Another hint, I can open the attachments after I added them, but once they are sent, they cannot be opened by the receiver. I also tested that when I create a new email in Outlook (not Rebex) the attachments work as expected.
I'm using outlook version 2107.
Do you have any idea what might be causing this?
Izak