IT Support
Guest
|
Hi,
Going through the post on Outlook email attachments, I tried attaching an image from a url which worked.
The var fullFilePath had the path to the image.
attachments.Add(fullFilePath, OutlookApp.OlAttachmentType.olByValue);
Now, my requirement is to attach a file in the form of a FileStream to the outlook attachments method.
A way to go about it was to convert it to a temporary file on my C: drive or any other temporary location but I wanted to know is there a way to bypass it & directly attach the filestream to the attachments method without savign anywhere? Can you provide a code snippet for the same?
Thank you |
|
Andrei Smolin
Add-in Express team
Posts: 18829
Joined: 2006-05-11
|
|