I am fetching attachments in notes document using @AttchmentNames formula, This works as expected.
But issue come up at our production recently, attachments names not fetched by formula for the replied/forwarded messages(Messages are created with Reply/forward with Attachment option). I am trying to understand how attachments are stored in replied/forwarded messages and wondering whether replied/forwarded message contains just link to original attachment. Does fetching the attachments requires some different mechanism?
Unfortunately this behavior does not simulate on development. Any help is much appreciated.
Thanks in advance.
Earlier i was looping on each item in document and checking for condition objItem.Name = "$FILE", objItem(0) gives me the attachment name. But doing this raised another issue, single attachment got repeated multiple times. Say there are three attachments in mail, extraction routine gives first attachment three times.
I think I will try implementing your solution, Thanks. – Yogesh Rain Jan 20 '12 at 07:04