- Choose Tools > My Email Notifications.
The My Email Notifications window opens.
- Click Add.
The Add My Email Notifications dialog box opens.
- Enter a description.
- Select the file options. These options specify which files fire the trigger.
- Select Only in this branch: then choose a branch from the list to limit searches.
- Enter a repository name or click Browse to select a repository.
- Select Recursive to search all subrepositories in the specified repository.
- Enter the File(s) you want the trigger to fire for. You can enter a file name or wildcard characters.
- Select Use regular expression to perform a regex-style search instead of a wildcard search.
- Select Match case to enable case-sensitive searching.
- Select the Event options. These options specify when the notification is sent.
- Select a file event from the Send me an email after list.
- To add a disabled trigger, clear Enabled.
- Select Disable trigger after it runs once if you only want the trigger to run one time. For example, you may want to receive an email once after a particular user checks in a file.
- Select the Email options
- Select Consolidate multiple file actions into one email to send one email for all files affected by the event. If this option is not selected, an email is sent for each file.
- Click OK.
The notification is added.