Attachments removed when sending mails

After upgrading to Lotus Notes ver. 8.0.2 we have problems with attaching files to mails. A backend-document are created, an attachment are created via NSFNoteAttachFile, and then the document are opened in the Lotus Notes client.

The attachment on the document is visible and can be viewed in the client.

But when the document is posted as a mail, the attachment is removed from the document, so the receiver can’t see it.

The program creating the mail is coded and executed in a 3rd party ERP system.

When performing this action on a 8.0.1. client (and older versions) all is working perfectly.