Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: Microsoft Exchange
Expertise: Beginner
Sep 14, 2000



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Event for Posting New Items to a Folder

I have been asked to write a script that will send an e-mail to a distribution list if a new item is placed in a public folder. I have two questions:
  1. Will the posting of a file (.xls, .doc, etc.) in a public folder trigger the new item posted event just like a new message would?
  2. If a posted file is opened, changed, and then saved, will the message changed event get triggered?

If you use the OnMessageCreated event, any new item posted to the folder (message, document, or whatever) will trigger the script, and opening, changing, and resaving an existing item in the folder will not trigger the script.

If you want to fire on changed items, use the OnChanged event for the folder.

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date