Hi, I am using Microsoft Outlook interop to display email with filled out email addresses and attachment.
Now Everything works fine except one problem with Attachment.
The problem is that I am getting attachment from other methods as Byte Array and if I am not able to pass this byte array as attachment to outlook object's attachment. I believe tt requires a physical file from disk.
So can someone please help me to solve how can I conver this Byte Array to attach it with Outlook.Attachment object?
Here is my code. In this code, for now I hardcoded attachment from "C:\test.txt" but I need to change it to Byte Array, I tried but its throwing error.
Can someone please tell me how can I change it to Byte Array?
##############################################################
using System.Reflection; using Outlook = Microsoft.Offi ...

Go to the complete details ...