Hello,
I am trying to have a form created in Lotus Notes designer emailed to someone when the submit button is clicked. I would like to do this without using the @mailsend function. Could I do this with javascript, or is there some other way?
In LotusScript you have the Send method in the NotesDocument object.
Given that you mention Submit, I'm guessing you want the document to be mailed from a Web client. You can do this by adding LScript to the PostSave event, where it checks that all fields are properly filled in and then mails the document.
Beware though ; if you do not pay attention in your code, the doc will be mailed every time it is saved - this might become an issue if you don't put in the proper check to prevent that.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.