Advanced Email Functionality
Mail Content Search in Efecte Service Management
It’s possible to enable full mail content search in ESM. When the feature is enabled, ESM stores content of all incoming and outgoing mails (excluding automatically sent notifications) to hidden text attributes. Search functionalities then find for example an incident also based on the text in the email content.
Note:
Full text search needs to be enabled in on-premise installations in order to use this feature! In cloud environments the full text search is enabled.
The platform setting mail.save.contentforsearch (default false) defines whether outgoing and incoming mails content for search should are stored. See the platform setting for more details.
Enabling mail content search
To enable the mail content search:
- Set the platform setting mail.save.contentforsearch to ‘true’.
- Save all MailTasks once. Saving a MailTask creates automatically the hidden fields the feature is using.
Saving attributes with EntityStateMailHandler also lead to the same result, but saving MailTasks is most likely faster way to enable the feature.
Using Incoming Mail Headers in Business Logic
It’s possible to use the mail headers of incoming mail in business logic.
To enable this feature:
- Choose a target attribute for the mail headers in MailTask configuration (see below).
- Use expressionHandler or a listener to copy, parse and use the values for you purposes.

EmailScheduled Task
When specifying the folder where emails are fetched from, use the hierarchy, E.g. if a new inbox folder is created under the Inbox folder and not on the same level, the correct path to it would be Inbox/folder_name. This affects at least Office365 mailboxes.
Also use English names of the folders, even if they are shown in another language in mail client. Inbox must be inbox, not for example, "Posteingang".
Table of Contents