Apple mail attachment woes

I have a mail-in database in which an agent runs on all incoming e-mails. Its purpose is to create a folder on a disk and save one file in it with the textual contents of the e-mail, and another file with the attachment to the e-mail.

This has been working on Domino 7, but after upgrading to Domino 8.0.2, it sometimes doesn’t work.

It appears that e-mail sent from an Apple computer is formatted in a way that Domino 8.0.2 can’t recognize for what it is. If we run the same code manually and using a Notes7 client, the code does what it’s supposed to.

More specifically, the NotesRichTextItem.EmbeddedObjects property when run on a Domino8 server returns empty on an e-mail with attachments when it’s sent from a Mac. When run on a Notes8 client the same thing happens, but when run on a Notes7 client, the attachment(s) is/are returned as an NotesEmbeddedObject array. The same thing goes for the NotesDocument.HasEmbedded property.

The e-mails that fail will typically have these properties:

Body: MIME Part Content-Type: multipart/alternative; boundary=“Apple-Mail-19-11978829”

MIME-_Version: 1.0 (Apple Message framework v930.3)

I haven’t found it reported as a bug anywhere, but I think it looks like one. Has anyone experienced anything similar to this?

Thank you for reading,

Bjørn