M-Files Admin / M-Files Server |
You can access the server's notification settings by right-clicking the server connection and selecting Notification Settings. With the notifications enabled, M-Files users are able to request e-mail notifications about object modifications (see also Notification Settings (M-Files Desktop) and "Follow this object" functionality under Metadata Card).
The "Notification Settings" dialog.
Check this box to enable notifications. After this, you can specify the notification settings.
Specify the SMTP server to be used for sending notification e-mails, for instance smtp.gmail.com. Ask the network administrator for the e-mail server name used by your company.
Use Encrypted connection (SSL/TLS)
Use this checkbox to encrypt your connection with SSL/TLS.
Specify the SMTP server port to be used. Usually there is no need to change the default value.
The most commonly used ports are 25, 465, and 587. The default ports are 587 (with SSL), and 25 (without SSL).
The e-mail address defined as the sender of notification messages, for instance [email protected]. The address does not have to actually exist.
The name of the e-mail sender. Enter the name to display in the notification's From field. Example: M-Files.
M-Files users can choose to receive their notifications as individual messages or as a digest message. Here you can specify the time when the daily digest messages are sent. For more information, refer to Notification Settings (M-Files Desktop).
Notification templates can also be customized. The notifications_template.txt file in the M-Files installation directory contains various notification templates. Messages can include placeholders. For example, to include an object ID in the message text, add the string %OBJID%.
Placeholder | Description |
---|---|
TIMESTAMP | The time when the event occurred. |
CAUSEDBY | The name of the user who caused the event. |
CAUSEDBYACCOUNT | The account name for the user who caused the event. |
OBJTYPE | The type of the object. |
OBJID | The ID of the document or other object. |
OBJVER | Object version. |
OBJTITLE | The name or title of the object. |
FILENAME | The name of the file. |
ROLLEDBACKTOVERSION | The version that the object was rolled back to. |
MFILESURL | An M-Files URL that shows the latest version of the object in question. |
MFILESURLTOVERSION | An M-Files URL that shows the specific version of the object in question. |
PROPERTY_<id> | The value of the specified property of the object. (Replace <id> in the placeholder with the ID of the property definition.) . |
OLDPROPERTY_<id> | The old value of the specified property of the object. (Replace <id> in the placeholder with the ID of the property definition.) |
NOTIFICATIONRULENAME | The notification rules which caused the event. |
VAULTNAME | The name of the document vault. |
VAULTGUID | The unique identifier (GUID) of the vault. |
You can also create and edit notification rule messages. This enables you to define the content of messages related to each notification rule.