--- title: "E-mail" slug: "core-send-mail-actor" updated: 2026-04-02T11:50:53Z published: 2026-04-02T11:50:53Z canonical: "docs.lobstersoftware.com/core-send-mail-actor" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # E-mail > [!NOTE] > Event action – Abstract > > **Purpose:** Used to automatically create an e-mail object and/or send [E-mails](/v1/docs/en/administration-system-mail) via the **Lobster Data Platform/Orchestration** server. > > > [!TIP] > > Tooltip > > > > - **Usage:** The mail content and the addresses of participants can be defined statically (via direct input) or dynamically (via a value resolver). Optionally, file attachments can also be defined for the mail. If at least one recipient and the sender are defined as participants, the message is sent. Depending on the 'mail save mode', an e-mail object with the data of the message and a 'Creation log' can be generated additionally or in cases of error. > > - **Parameter:** > > - Sequence control options: 'Create mail content on commit', 'Send immediately', 'Mail save mode' and 'Log level'. > > - Mail content parameters: 'Subject' (value resolver), 'Body content type', 'Mail body builder' (value resolver for the message content). > > - Addresses of e-mail participants (value resolvers for the participant types 'From', 'Recipient'/'To' and optionally 'Cc', 'Bcc'). > > - *Optional:* attachments (repeating element with the fields 'File name', 'MIME type' and 'Content' value resolver). > > - **Output:** New e-mail object and/or sending of the corresponding message. > > - **NOTE:** Dispatch requires suitable settings for the server configuration in the `startup.xml` file (see manual). ![images/download/attachments/201664254/image-2025-3-21_17-0-59-version-1-modificationdate-1742572858523-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-21_17-0-59-version-1-modificationdate-1742572858523-api-v2.png) The [E-mail](/v1/docs/en/core-send-mail-actor) event action is used to automatically create and send [E-mails](/v1/docs/en/administration-system-mail) via the **Lobster Data Platform/Orchestration** server. *Dispatch* requires the appropriate settings for the server configuration (see the section 'Necessary adjustments to the server configuration (`startup.xml`)' at the very bottom). The content of the message (subject, mail body, attachments) and the addresses of the participants (sender, recipient, Cc, Bcc) can be defined statically via direct input as text or dynamically – i.e. via value resolvers. By default, many value resolvers take into account the *reference object* in the context of which the event action [E-mail](/v1/docs/en/core-send-mail-actor) is executed. The data of the *reference object* – if necessary together with other data sources – can be integrated into the [E-mail](/v1/docs/en/core-send-mail-actor) in various ways ([Concat strings](/v1/docs/en/core-concat-string-resolver), [Template](/v1/docs/en/core-template-content-builder), etc.). Optionally, the created message can be saved (possibly depending on conditions) as an e-mail object (`core:Mail`, see [E-mails](/v1/docs/en/administration-system-mail)) in **Lobster Data Platform/Orchestration**. Together with the information directly contained in the message (subject, mail body, sender/recipient addresses and attachments, if applicable), this also contains one field each for the 'creation log' (`mailLog`) and the 'state' (`state`, see [Mail state](/v1/docs/en/core-mail-states)), which are automatically assigned values by the event action [E-mail](/v1/docs/en/core-send-mail-actor) at runtime. **NOTE:** Access to e-mail objects does require sufficient role permissions and is tied to ownership or [Company authorizations](/v1/docs/en/base-company-release). However, the authorization to create e-mail objects through the event action [E-mail](/v1/docs/en/core-send-mail-actor) is always carried out without taking access restrictions into account. Provided that the selected **Mail save mode** allows for it, e-mail objects can therefore always be created regardless of the *applicable logon context*. The [Company of session](/v1/docs/en/base-session-company-account-value) is automatically assigned as the owner of the e-mail object. If necessary, this assignment can be overridden by [Run as](/v1/docs/en/base-run-as-actor) by a static assignment from another company. ## Requirements for sending e-mails In order for **Lobster Data Platform/Orchestration** to send automated [E-mails](/v1/docs/en/administration-system-mail), access to an SMTP server must be guaranteed as a service for **Lobster Data Platform/Integration**. As the following overview shows, this can be achieved in different ways: | 1. Either the [E-mail](/v1/docs/en/core-send-mail-actor) event action (in the **From** tab) refers directly to a ‘partner channel’ of the 'Mail' type configured for **Lobster Data Platform/Integration**, which is addressed by **Partner name** and **Channel name**. 2. Or the [E-mail](/v1/docs/en/core-send-mail-actor) event action does not include information on the 'partner channel'. In this case, the default configuration for e-mail dispatch via **Lobster Data Platform/Integration** is used, for which there are two options: - Either the 'StartupService' configuration specifies login data (`setMailSettings`) for outgoing mail (SMTP). - Or it refers to a ‘partner channel’ of the ‘Mail' type configured for **Lobster Data Platform/Integration**. | ![images/download/attachments/201664254/image-2025-3-25_10-17-31-1-version-1-modificationdate-1742894250671-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-25_10-17-31-1-version-1-modificationdate-1742894250671-api-v2.png) | | --- | --- | ### E-mail settings under 'StartupService' (startup.xml) The version of the configuration file `./etc/startup.xml` provided during installation already contains an element with the `com.ebd.util.net.mail.HubStartupConfiguration`’ class, in which the specific details for the desired mail server access must be specified. Customization of Startup.xml ```xml                                                                            localhost                    25                                                                                                                 ``` ## Configuration Since the configuration for the [E-mail](/v1/docs/en/core-send-mail-actor) provides for more extensive configuration options, these are provided over different tabs in a [Tab panel](/v1/docs/en/fre-tab-panel-vo) element. The **E-Mail** tab combines parameters for sequence control with the configurations for the actual content of the message: | '[E-mail](/v1/docs/en/core-send-mail-actor)' tab/Parameters for sequence control | | --- | | The option **Create mail content on commit** is deselected by default (OFF), which causes all value resolvers in the [E-mail](/v1/docs/en/core-send-mail-actor) configuration to be processed immediately when the event action is executed. - If this option is activated (ON), then the value resolvers are only processed when the transaction is completed. Then they also take into account data changes that are triggered only in the1 further course of the transaction after calling [E-mail](/v1/docs/en/core-send-mail-actor). Among other things, this affects the automatic assignment for the ID (`id`) of new entities to be created, if not [Fill primary key](/v1/docs/en/core-fill-primary-key-actor) or [Save changes later](/v1/docs/en/core-merge-later-once-actor) before [E-mail](/v1/docs/en/core-send-mail-actor) is executed. **NOTE:** In addition, the **Send immediately** option is disabled. The **Send immediately** option is deselected by default (OFF), which means that the mail is only sent when the current transaction is completed successfully (without error/rollback or a [Abort](/v1/docs/en/core-abort-actor)). Depending on the selection for the option **Create mail content on commit**, value resolvers in the [E-mail](/v1/docs/en/core-send-mail-actor) configuration are processed immediately or only on commit. - If this option is activated (ON), then the mail is created and sent immediately, so that the value resolvers can only process the state at execution time. **NOTE:** The **Create mail content on commit** option is deactivated. If the 'ID' (`id`) of the generated e-mail entity (see [E-mails](/v1/docs/en/administration-system-mail)) is required for subsequent steps within event processing, this can be saved in a variable. For this purpose, the name of a variable must be entered in the **Store Mail Id** as a variable field. | ![images/download/attachments/201664254/image-2025-3-21_17-2-14-version-1-modificationdate-1742572933451-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-21_17-2-14-version-1-modificationdate-1742572933451-api-v2.png) | | The selection for the **Mail save mode** defines whether and, if so, under which conditions the message is to be saved as an e-mail object when the event action [E-mail](/v1/docs/en/core-send-mail-actor) is executed. The creation of [E-mails](/v1/docs/en/administration-system-mail) can be: - Never (by 'Don't save mail'). - Always (by 'Save always'). - Only in case of errors (by 'Only save on error'). | ![images/download/attachments/201664254/image-2025-3-21_17-3-1-version-1-modificationdate-1742572980452-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-21_17-3-1-version-1-modificationdate-1742572980452-api-v2.png) | | The selection for the **Log level** concerns the level of detail for the 'Creation log', which documents the processing steps of the event action [E-mail](/v1/docs/en/core-send-mail-actor) and is traceable from saved [E-mails](/v1/docs/en/administration-system-mail) depending on the selection for the **Mail save mode** in the 'Creation log' (`mailLog`) field. - The default selection 'ALL' ensures maximum detail in the creation log. - With the 'OFF' selection the creation log is always empty. - For the intermediate levels FATAL, ERROR, WARN, INFO, DEBUG and TRACE the selection always determines the threshold value for the alert level from which entries appear in the log. In the enumeration, categories mentioned earlier are therefore always included, categories mentioned later are excluded. **NOTE:** If the **Mail save mode** is set to 'Don't save mail', the **Log level** should be set to 'OFF' for optimal performance, otherwise the log will be created temporarily and then discarded. | ![images/download/attachments/201664254/image-2025-3-21_17-4-49-version-1-modificationdate-1742573089095-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-21_17-4-49-version-1-modificationdate-1742573089095-api-v2.png) | | '[E-mail](/v1/docs/en/core-send-mail-actor)' tab/Parameters for mail content | | --- | | The text for the **Subject** of the e-mail is a required field. It can be defined either by *direct input* as static [Text](/v1/docs/en/core-text-value-editor) or – after clicking on the small grey arrow in the text field – as a return value from a *value configuration* (e.g. via the [Value from localization](/v1/docs/en/core-resource-resolver) value resolver). | ![images/download/attachments/201664254/image-2025-3-21_17-6-10-version-1-modificationdate-1742573169609-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-21_17-6-10-version-1-modificationdate-1742573169609-api-v2.png) ![images/download/attachments/201664254/image-2025-3-21_17-6-39-version-1-modificationdate-1742573198898-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-21_17-6-39-version-1-modificationdate-1742573198898-api-v2.png) | | The **Body content type** parameter requires a static selection for the *MIME type* of the message body as a required field. Whether the selected type can be correctly displayed by a recipient ultimately depends on the mail client used. The field lists by auto-completion types can be interpreted by most mail programs. Alternative entries are possible, but are only useful as long as the mail client of the recipient also supports these formats. | ![images/download/attachments/201664254/image-2025-3-21_17-7-15-version-1-modificationdate-1742573234721-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-21_17-7-15-version-1-modificationdate-1742573234721-api-v2.png) | | The **Mail body builder** parameter defines the body content of the e-mail as a string whose content should match the specified **Body content type**. The text for the *mail body* can be generated in different ways. The examples on the right demonstrate only a few selected procedures that can be used individually or in combination to systematically generate the 'appropriate' content for the message to be sent: - The first example defines a static text via *direct input* in the configuration, which neither includes localizations from the [Localization](/v1/docs/en/core-localization-entry) nor contents from the *reference object* or other 'data sources'. - The second example shows how a *value resolver* of the [Template](/v1/docs/en/core-template-content-builder) type can be used to schematically prepare selected data from the data model of the *reference object*: Runtime example: ```plaintext ■ base:CompanyAccount └ id = 1902 └ creatorId = 1901 └ ownerId = 702 └ lastModifierId = 1901 ``` **NOTE:** The [Template](/v1/docs/en/core-template-content-builder) value resolver is also good for filling in placeholders in a given cloze text, which then do not look as technical as in the example. - The third example shows how the *value resolver* [Value from localization](/v1/docs/en/core-resource-resolver) can be used to fill a cloze text stored specifically for different languages via *parameters* with texts that are determined at runtime as return values of the configured value resolvers. **NOTE:** In the example, the *reference objec*t is a user account just activated by the administrator, from which the language (`locale`) for localization is taken in addition to other information (username in the `username` field, list of selectable companies in the `companies` field). The new user is thus automatically welcomed in the **Locale** defined for his account, provided that the corresponding localization is stored for the **Bundle** `EMAIL_NOTIFICATIONS` and the **Resource** `010_WELCOME_NEW_USER`. The text for the **Default value** in English is used if the *resource bundle* entry is missing completely. It also clarifies here how the parameters {0}, {1} and {2} are included in the text. The parameter {2} is to define the login link. Since this does not need to be localized, only static text is assigned here. | ![images/download/attachments/201664254/image-2025-3-21_17-9-23-version-1-modificationdate-1742573362474-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-21_17-9-23-version-1-modificationdate-1742573362474-api-v2.png) --- ![images/download/attachments/201664254/image-2025-3-21_17-21-44-version-1-modificationdate-1742574103575-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-21_17-21-44-version-1-modificationdate-1742574103575-api-v2.png) --- ![images/download/attachments/201664254/image-2025-3-21_17-23-53-version-1-modificationdate-1742574233220-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-21_17-23-53-version-1-modificationdate-1742574233220-api-v2.png) | | Tabs for defining addresses of 'participants' (sender/recipient) in the mail | | --- | | The **From** tab contains three parameters that can be used to send the e-mail in one of the two alternative ways (see 'Requirements for sending e-mails' above). - The **Partner name** and **Channel name** parameters can be used to identify a 'Partner channel' (with the 'Mail' type), which must contain a suitable configuration for the 'Outbox' (via SMTP) so that [E-mails](/v1/docs/en/administration-system-mail) can be sent. - As long as neither a **Partner name** nor a **Channel name** is specified, the third parameter **From** is a required field. The e-mail address entered there is then processed in conjunction with the default configuration for sending e-mails from **Lobster Data Platform/Integration**. - If a partner channel is addressed via the **Partner name** and **Channel name**, the **From** parameter can still be used to specify a sender address that must be permitted for use in the context of the associated SMTP configuration. Initially, all three text fields always appear as required fields (see screenshot top right). The text can be defined either by *direct input* or – after clicking on the small grey arrow at the bottom left of the element – via a *value configuration* at runtime. --- - In the first example, a `noreply` address was specified by *direct input*, which is intended to make it clear to the recipient that a reply to this sender is pointless. - The second example shows how the value resolver [Mail address user](/v1/docs/en/base-user-mail-address-resolver) can be used to obtain the sender's e-mail address from a specific communication information of the logged-in user. The value resolver returns a *list of all entries* with the [Contact type](/v1/docs/en/base-contact-type) 'E-mail' whose value in the 'Context' field matches the specification for the **Context communication info** parameter. If several email addresses are specified in the user account for the requested context (*here*: `mailFrom`), only the first one found is taken into account for sending. - The third example refers to a 'Partner channel', which is addressed via **Partner name** and **Channel name**: - The **Partner name** is determined by a *value configuration* that accesses the value of the [Variable](/v1/docs/en/core-storage-value) `FROM_PARTNER` as the 'Partner name' at runtime. - The **Channel name**, on the other hand, is defined as the static [Text](/v1/docs/en/core-text-value-editor) `MAILOUT`. **NOTE:** A partner whose name is specified in the [Variable](/v1/docs/en/core-storage-value) `FROM_PARTNER` should therefore have a 'Mail' channel with the name `MAILOUT` so that [E-mails](/v1/docs/en/administration-system-mail) can be sent with this configuration. . | ![images/download/attachments/201664254/image-2025-3-25_10-19-25-version-1-modificationdate-1742894365056-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-25_10-19-25-version-1-modificationdate-1742894365056-api-v2.png) --- Example 1: Sender address (**From**) as static text ![images/download/attachments/201664254/image-2025-3-21_17-25-33-version-1-modificationdate-1742574332659-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-21_17-25-33-version-1-modificationdate-1742574332659-api-v2.png) Example 2: Sender address (**From**) with *value configuration* ([Mail address user](/v1/docs/en/base-user-mail-address-resolver)) ![images/download/attachments/201664254/image-2025-3-21_17-24-53-version-1-modificationdate-1742574292364-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-21_17-24-53-version-1-modificationdate-1742574292364-api-v2.png) Example 3: Reference to a ‘Partner channel’ via **Partner name** and **Channel name** **![images/download/attachments/201664254/image-2025-3-25_10-21-4-version-1-modificationdate-1742894463794-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-25_10-21-4-version-1-modificationdate-1742894463794-api-v2.png)** | | The **Recipient**, **Cc** (Recipient for copy) and **Bcc** (Recipient for blind copy) tabs allow the specification of e-mail addresses for recipients of a message, which can be defined similarly to the **From** tab either as *direct input* or via *value resolvers*. While the sender (see **From** tab) of an e-mail must be *uniquely* determined by definition, *multiple* addresses can be specified for each recipient type. For this reason, a [Repeatable element](/v1/docs/en/fre-duplicate-element-container-vo) is offered for the address input, in which *instances* for the value assignment can be added and removed via the symbols ![images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/add.svg](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/add(19).svg) and ![images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/forbidden.svg](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/forbidden(16).svg). Based on the value assignments for these instances, e-mail participants of the respective types ('To', 'Cc', 'Bcc') are generated for the message according to the following logic: - The value assignment can be done individually for each *instance* either by *direct input* or by a *value resolver*. - For *direct input*, multiple recipient addresses can be concatenated with a semicolon as a separator (see the first example on the right) to assign the entire string all together as a value to a single *instance*. In this case, however, the addressees do not appear in the e-mail object as individual 'participants', but only as a common entry that is identified by the concatenated address list. - When a value resolver is configured for an instance, it should return either a text value (`string`) or a list of text values (`string[]`), which is the case for the value resolvers [E-mail](/v1/docs/en/orchestration-resolvers-mail). In both cases, each individual text value is interpreted like a *direct input*: One e-mail participant of the respective recipient type is created for each text value (single address or concatenated address list). --- Examples (right): - The first example shows how to define a static list of recipient addresses in the first instance of the input field in the **Recipients** tab as direct input with concatenation via the semicolon. - The second example shows how two instances of the input field are used in the **Cc** tab to read e-mail addresses from the communication information of a specific company (by the [Mail address company](/v1/docs/en/base-company-mail-address-resolver) value resolver) and the company defined via the company attribute with the [Company type](/v1/docs/en/base-company-type) 'Principal' (by the [Mail address company attribute](/v1/docs/en/base-company-attribute-mail-adress-resolver) value resolver). In both cases, the same key value is used for the **Context communication info** (`notify`). In each case, *all matches* for the [Communication type](/v1/docs/en/base-communication-type) 'e-mail' are taken into account as Cc recipients that refer to this context. - The third example shows how to access a specific text attribute 'E-mail' (`EMAIL`) in the reference object in the tab **Bcc** via the [Mail address text attributes](/v1/docs/en/base-text-attribute-mail-address-resolver) value resolver, in order to obtain an e-mail address for the recipient of a blind copy. If the text attribute is plural, multiple entries may be taken into account and returned as list values. | Example: Direct input for multiple chained receivers ![images/download/attachments/201664254/image-2025-3-21_17-26-0-version-1-modificationdate-1742574359785-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-21_17-26-0-version-1-modificationdate-1742574359785-api-v2.png) Example: Value resolver for recipient of a copy (Cc) ![images/download/attachments/201664254/image-2025-3-21_17-26-32-version-1-modificationdate-1742574392123-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-21_17-26-32-version-1-modificationdate-1742574392123-api-v2.png) Example: Value resolver for receiver of a blind copy (Bcc) ![images/download/attachments/201664254/image-2025-3-21_17-26-55-version-1-modificationdate-1742574415799-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-21_17-26-55-version-1-modificationdate-1742574415799-api-v2.png) | | 'Attachments' tab/Parameters for mail attachment definition | | --- | | The **Attachments** tab provides a [Repeatable element](/v1/docs/en/fre-duplicate-element-container-vo) where parameters for one or more file attachments for the message can be defined. The ![images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/add.svg](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/add(19).svg) and ![images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/forbidden.svg](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/forbidden(16).svg) icons can be used to add or remove configurations for file attachments. The following parameters are repeated per attachment: - The **File name** (required field) expects a static text value as input for the name under which the file attachment should appear in the message. - The **MIME type** *optionally* defines the 'media type' for the **Content** to be attached. The text field works with auto-completion to facilitate entering a suitable key value (e.g. `application/pdf` , `image/png` , `text/xml` etc.). If no specification is made, then a plausible MIME type is automatically assigned to the attachment based on its **Content**. - The following data types can be used as **Content** for a file attachment, which can be passed individually or as a list: - Text (`string`) - Action event content (`Content`, see [Content builder](/v1/docs/en/orchestration-resolvers-content)). - File information (`FileInfo`, e.g. from a [File](/v1/docs/en/fre-file-vo) element in a form). - Document (`Document`, see [Documents](/v1/docs/en/doc-document)). - ByteArray (`byte[]`, e.g. from a [Load web resource](/v1/docs/en/frebehav-load-web-resource) behavior). **NOTE:** If the data object provided as content includes **File name** and/or **MIME type** specifications (see table below), these override the corresponding configuration parameters. This is especially helpful if the **Content** is defined via a value resolver such as [Attached document](/v1/docs/en/doc-attached-document-content-builder) which can return multiple contents. \| Data type \| File content field \| 'File name' field \| 'MIME type' field \| \| --- \| --- \| --- \| --- \| \| Action event content \| `body` \| `name` \| `mediaType` \| \| File information \| `content` \| `name` \| `type` \| \| Document \| `documentContent` \| `name` \| `contentType` \| **NOTE:** The data type 'Action event content' is also suitable for creating a 'cover' for another content (e.g. text or byte array) via a [Create instance](/v1/docs/en/core-create-instance-resolver), which can then be used to assign a **File name** and a **MIME type**. Examples: - In the first example on the right, the [Object to server xml](/v1/docs/en/core-server-xml-encode-resolver) value resolver is used to attach the data of the *reference object* as an XML file. Suitable specifications are made for **File name** and **MIME type**. - In the second example on the right, two instances are configured for **Attachments** in which the [Attached document](/v1/docs/en/doc-attached-document-content-builder) value resolver is used to return the [Documents](/v1/docs/en/doc-document) assigned to the *reference object* for one [Document type](/v1/docs/en/doc-document-type) at a time. The text `dummy` was entered as **File** **name** to fill the required field on a *pro forma* basis. A **MIME type** was not assigned, since this is determined automatically together with the name from the data of the [Documents](/v1/docs/en/doc-document) (if available). | Example: XML of the reference object (order) is attached as 'order.xml' file ![images/download/attachments/201664254/image-2025-3-21_17-32-28-version-1-modificationdate-1742574747824-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-21_17-32-28-version-1-modificationdate-1742574747824-api-v2.png) Example: [Documents](/v1/docs/en/doc-document) related to the reference object are attached ![images/download/attachments/201664254/image-2025-3-21_17-33-29-version-1-modificationdate-1742574809029-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-21_17-33-29-version-1-modificationdate-1742574809029-api-v2.png) | | Data type | File content field | 'File name' field | 'MIME type' field | | Action event content | `body` | `name` | `mediaType` | | File information | `content` | `name` | `type` | | Document | `documentContent` | `name` | `contentType` |