Hello all,
We have a mail-in database with an agent set to run “Before New Mail Arrives”. The agent reads certain information from the Body field for filing purposes.
We recently added the following code to the agent:
session.ConvertMime=false
Now, messages delivered via SMTP, containing attachments, have the attachments shown in a collapsible section at the top of the mail (new Note behaviour for SMTP mails).
However, if I try to access the attachments through Lotus Script (e.g. in an action button), the HasEmbedded property of the document is true, but the EmbeddedObjects property of the Body field is empty.
The document contains the $FILE field, and the attachments are in the document, because I can access them in the UI.
Messages routed to the same mailbox via Notes routing are fine and can be processed without problems.
I need help accessing these attachments through script, but I have run out of ideas.
Thanks,
Alex Rasmussen