@mailsend and bookmark

Hi,

I have an application with a button ‘new document’. this document has a sendto field composed of 2 other fields

Bestemmelingen1:Bestemmelingen2

Field bestemmelingen1 = a fixed public group

Field bestemmelingen2 = a name of a user the user can choose.

The document is saved and mailed with a button with folowing code:

@Do(@Command([FileSave]);

@MailSend(Sendto;“”;“”;“xxx.”;“yyy”

;“”;[IncludeDoclink]);

@Command([FileCloseWindow]))

Fairly simple, I would say and everything works fine. Mails are sent to every intented recipient. However, we have created a shortcut on the bookmark bar so that when the user opens this shortcut, a new document is opened and the user can fill in this form.

Here the problem starts:

The mail is sent to the public group, but not to a user wich is added. So, apparantly, when the document creation starts from a bookmark, something gets wrong with the mailsend.

Has anyone experienced this kind of problem?