Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

alternative to @mailsend

Status
Not open for further replies.

thabrane

Programmer
Aug 20, 2003
94
US
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.

Pascal.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top