Evaluate and @Mailsend gives Doclink problem

Hello,I’m using in QuerySave event on a form a script which sends out status mails.

Unfortunately no mail goes out as soon as I try to add a doclink.

Works :

Const NotesMacro1$ ={ MailSend(“MyMailAddress”;“”;“”;“Follow this link”;“”;“body”)}

result = Evaluate(NotesMacro1$,doc)

Does not work : ( no mail sended, no error )

Const NotesMacro1$ ={ @MailSend(“MyMailAddress”;“”;“”;“Follow this link”;“”;“body”;[IncludeDocLink])}

result = Evaluate(NotesMacro1$,doc)

Also ; this second code, which does not work in the QuerySave event, sends out the mail but without the doclink when I put it in PostSave or QueryClose event

The doc has been saved before.

Is there a restriction on the Evaluate or is it not possible to do it this way ?

Thanks and regards,

Ronald

Subject: Evaluate and @Mailsend gives Doclink problem

Ronald,

Does your database have a default view??? The lack of a default view in the database stops the [IncludeDocLink] parameter from working

Mike

Subject: RE: Evaluate and @Mailsend gives Doclink problem

Hi Mike,

You made my day , works like a charm.

Thanks and regards,

Ronald