Hi Community,
I have an application which uses the COM API to access mails via the notes client. For some reason there are some mails, which have invalid fields for the attachment object.
Example:
I’m getting the Object:
myNotesItem = myCurrentDocument.GetFirstItem(“$FILE”)
then I have to access the myNotesItem.Values property to retrieve the attachment’s filename.
For some reason there are some mails, that have attachments, but the Values Property is NULL (NOTHING). The Objectype is 1085 (OTHER) and not as expected 1084 (ATTACHMENT).
So I’m not able to extract this attachment.
I even tried to reach this attachment through the richtext body - but this seems to be an so called V2 attachment, which is not placed within the body.
In addition:
Trying this under VB6 (I know its old …)
the myNotesItem oject is completely empty (nothing)
Trying this under VB.NET the myNotesItem object is set, only the values
property is nothing.
It obviously is an API error, but has anyone an idea, how to get out?
Does anyone know, how to open an error ticket, if it is really an error?
Any hints are welcome!