Call to getEmbeddedObjects(); (Domino Server API) returns wrong results

后端 未结 4 977
日久生厌
日久生厌 2021-01-19 04:15

The Domino server API getEmbeddedObjects(); returns the wrong result (zero) when a mail containing an attachment (as embedded object) is sent from the script.

4条回答
  •  盖世英雄少女心
    2021-01-19 04:30

    Attachments do not necessarily have to be embedded inside a RichText field. To quote from the designer-help:

    If you need access to OLE/2 embedded objects that exist in a document but are not part of a rich text item (for example, because the object was originally created on the document's form), use the EmbeddedObjects property in Document.

    Another source of your problem could be, that there are several "Body" RichText items you would have to check.

    HTH

提交回复
热议问题