How to add attachments to mail without local path

Add-in Express™ Support Service
That's what is more important than anything else

How to add attachments to mail without local path
 
Nevzat Hayri TAVUKÇU




Posts: 27
Joined: 2019-12-19
I want to add the file with the byte[] from the webservice.
Posted 14 Jan, 2020 03:47:08 Top
Andrei Smolin


Add-in Express team


Posts: 17243
Joined: 2006-05-11
Hello Nevzat,

The Outlook object model doesn't support this. You need to use Attachment.Add() to achieve this and that method requires having a file.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 14 Jan, 2020 07:48:25 Top
Nevzat Hayri TAVUKÇU




Posts: 27
Joined: 2019-12-19
Thanks Andrei. We can close the topic.
Posted 15 Jan, 2020 08:43:33 Top
Andrei Smolin


Add-in Express team


Posts: 17243
Joined: 2006-05-11
Welcome!

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 15 Jan, 2020 09:03:53 Top