add attach in RTF format as OLE pictures

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

add attach in RTF format as OLE pictures
 
Sergii Kh




Posts: 5
Joined: 2008-05-16
when i save attach as file and try add to attach in new mailitem attach OLE stay as olByValue, how a solve this problem?

Outlook.Attachment attach = attachs.Item(index);
if (attach.Type == Outlook.OlAttachmentType.olOLE)
attach.SaveAsFile(@"c:\attach.bin");
}

...
item.Attachments.Add("c:\attach.bin", OlAttachmentType.olOLE, 0, "test");
Posted 16 May, 2008 05:34:19 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Sergii.

As far as I know, this is by design in Outlook.
Posted 16 May, 2008 07:26:58 Top