Notifications when a document is modified

Posted on 2000-03-08
Last Modified: 2013-12-18

I am looking for a quick clean simple method of sending an e-mail notification anytime a document is modified. The caveat is that only one notification should be sent when the document is closed, so that if the user saves the document several times before closing it, only one notification is sent. I would also like to avoid using an agent to accomplish this if possible.


Question by:Z_Beeblebrox
  • 3

Accepted Solution

MW earned 50 total points
ID: 2596591
1. create a subform

2. in the postopen event of the subform place following formula:


3. in the querysave event of the subform place the following formula:


4. in the queryclose event of the subform place following formula:

@MailSend(sendTo;copyTo;blindCopyTo; subject;remark;bodyFields;[flags]);

5. place the subform into the form where you would need this functionality

Author Comment

ID: 2596740
Seems like it should work... I didn't even think about using environment variables. I will implement it and then test it and then give you the points assuming all goes well. One question though? Why do you say a subform is required? I could do everything on the form itself.


Expert Comment

ID: 2596786
I prefer using subforms not to be blocked using script in the events of the form.

But of course you can keep it simple placing the formulas into the form.

Expert Comment

ID: 2603863
just put an @mailsend in the querysave.

No evironment variables, no test

just send mail.

Good luck
Ikke De Steve

Expert Comment

ID: 2603902
just to put the command in the querysave won't do it. It will send a mail every time a user saves the document. It should send the email only once when closing the mail and only if the document was saved at least once.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question