Pergunta

I'm developping an outlook addIn using C# and I need to get attachment id from redemption or RDO MAil. how's that? Thank you

Foi útil?

Solução 2

I was trying to replace attachment with a link in async callback method and I needed to detect which attachment to replace. I used as flag the contentID of the Interop.Redemption.RDOAttachment Object and it worked fine, Thank you .

Outras dicas

Outlook attachments (unlike messages) do not have unique ids since they only exist in the context of their parent messages.

PR_ATTACH_NUM property is used to open attachments - http://msdn.microsoft.com/en-us/library/office/cc841969.aspx.

But that property is not guaranteed to stay the same when a message is opened. More than that, the value of the PR_ATTACH_NUM property can differ depending on whether you retrieve it from the attachment table or from the attachment itself. Below is example from OutlookSpy (I am its author):

What exactly are you trying to do?

enter image description here

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top