@Mailsend in Notes 8

Hi,I have a problem with a “hotspot button” I created some time ago on a particular document in a particular database.

In notes 7 we used this to email the document to whoever was using it, as the install it contains only works when they are in their mailfile.

It includes an attachment. In notes 7 the attachment is emailed.

In notes 8, the email is sent but no attachment is included.

The @Mailsend is below:

{whole bunch of other code then}:

@MailSend(SendTo:“”;“”;“”;Subject;“”; “ATTACHMENTS”);

Any reason why?