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 |
---|---|
CAUSEDBY | The name of the user who caused the event. |
CAUSEDBYACCOUNT | The account name for the user who caused the event. |
FILENAME | The name of the file. |
HYPERLINKFRAGMENTHTML | An HTML formatted hyperlink containing URLs to the object for M-Files Desktop, M-Files Web, and M-Files Mobile. |
HYPERLINKFRAGMENTPLAIN | A plain-text formatted text fragment containing URLs to the object for M-Files Desktop, M-Files Web, and M-Files Mobile. |
INTERNALID | The (internal) ID of the object. The internal ID is always unique for each object of a single object type and within a single vault (see also OBJID). |
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. |
NOTIFICATIONRULENAME | The name of the notification rule that caused the event. Available for notification templates. |
OBJID | The (external) ID of the object (see also INTERNALID). |
OBJTITLE | The name or title of the object. |
OBJTYPE | Object type. |
OBJVER | Object version. |
ROLLEDBACKTOVERSION | The version that the object was rolled back to. |
TIMESTAMP | The time when the event occurred. |
USERCAUSEDWORKFLOWSTATE_Z | The user who moved the object into a specific state, Z being the ID of the workflow state. |
VAULTNAME | The name of the document vault. |
VAULTGUID | The unique identifier (GUID) of the vault. |
WEBURL | An M-Files Web URL that shows the latest version of the object in question. |
WEBURLTOVERSION | An M-Files Web 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.) |
OBJTYPE_<ID> | Values of all the properties that can refer to the specified object type. (Replace <ID> in the placeholder with the ID of the object type.) |
You can also create and edit notification rule messages. This enables you to define the content of messages related to each notification rule.