JavaScript->LotusScript

Hi,

I got a quite tricky (for me as Notes-newbie) problem here. I need to add to certain Emails a special Button which deletes the email from the notesdatabase. the email is generated from a spam-protection server and to change all mail-templates isn’t an option for us.

so my way to workaround that it isn’t possible to change notes-objects via javascript without building java and CORBA/IIOP access is, that I try to write the LotusScript-Code via JavaScript into the document/mail.

The problem is, the button is shown, but the underlying code isnt execute (I tried to investigate who lotus is sending the mail via internet to get buttons to work, but wasnt really successfull with that).

any help is appreciated