--- title: "Mail address text attributes" slug: "base-text-attribute-mail-address-resolver" updated: 2026-04-16T07:33:39Z published: 2026-04-16T07:33:39Z canonical: "docs.lobstersoftware.com/base-text-attribute-mail-address-resolver" --- > ## 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. # Mail address text attributes > [!NOTE] > Value resolver – Abstract > > **Purpose:** Evaluates the singular or plural text attribute of an entity passed as *input value* identified via the selection for the **Text type** parameter and returns all non-empty text values ("E-mail addresses") as a string list. > > > [!TIP] > > Tooltip > > > > - **Usage**: The value resolver expects an entity that can have text attributes as *input value*. It evaluates the singular or plural text attribute with the specified **Text type** and returns all non-empty text values ("E-mail addresses") as a list of strings. > > - **Parameter**: The static single selection for the **Text type** defines which text attribute should be evaluated. ![images/download/attachments/91132424/image2022-1-25_10-28-3-version-1-modificationdate-1643102883702-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2022-1-25_10-28-3-version-1-modificationdate-1643102883702-api-v2.png) The [Mail address text attributes](/v1/docs/en/base-text-attribute-mail-address-resolver) value resolver evaluates the singular or plural text attribute of an entity passed as *input* *value* that was identified via the selection for the **Text type** parameter (see [Text type](/v1/docs/en/base-text-type)) and returns all non-empty text values (`textValue` field) as a list of strings. **NOTE:** Whether the individual text value meets the formal criteria for an e-mail address is not examined. The *input value* expects an entity that is an *attribute owner* according to its type and supports text attributes. By default, this applies to all business transaction objects and – if supported – also to their line items (see example below). If successful, the *return value* of the value resolver is a list of strings (`string[]`) containing all non-empty text values (`textValue`) of text attribute instances for the requested [Text type](/v1/docs/en/base-text-type). - If the "Plural" option is unselected in the dynamic enumeration [Text type](/v1/docs/en/base-text-type) definition for the selected **Text type**, then the attribute is considered a *singular* text attribute (see also [Typed attribute resolver](/v1/docs/en/core-typed-attribute-resolver)). Then a single text value is the maximum expected. - If the "Plural" option is selected in the definition for the selected [Text type](/v1/docs/en/base-text-type) in the dynamic enumeration **Text type**, then the attribute is considered a plural text attribute (see also [Plural typed attribute resolver](/v1/docs/en/core-typed-attributes-resolver)). Then multiple text values will be listed if necessary. **NOTE:** Even a single match is returned as an element of a list, so a value resolver (e.g. [List item](/v1/docs/en/core-list-item-resolver) or [Rule list resolver](/v1/docs/en/core-list-rule-resolver)) may be needed to directly access the single value. However, this does not matter in the typical environment within a [E-mail](/v1/docs/en/core-send-mail-actor) event action, since strings or lists of strings are accepted there when addressing e-mails (in the "Recipient", "CC" and "BCC" parameters). The *return value* of the resolver, on the other hand, is "no value" (`$null`) if at least one of the following conditions applies: - The *input value* is not an entity that can have text attributes. - The *input value* is a suitable type entity that does not have a text attribute instance that satisfies all of the following conditions: - The text attribute instance type (`textType`) matches the [Text type](/v1/docs/en/base-text-type) selected in the **Text type** parameter. - The "Text" (`textValue`) of the text attribute instance is not empty. ## Configuration | In the **Text type** parameter, a single selection must be made based on the dynamic enumeration [Text type](/v1/docs/en/base-text-type). As shown in the image, the [Combobox](/v1/docs/en/fre-combo-box-vo) element supports a search function. **IMPORTANT:** If [Enumeration filters](/v1/docs/en/core-dynamic-enum-filter) are applicable for the **Text type** enumeration in the context of a session, they also restrict the selection for the **Text type** in the course of configuration. In contrast, [Enumeration filters](/v1/docs/en/core-dynamic-enum-filter) have no effect on the evaluation of the value resolver at runtime. | ![images/download/attachments/91132424/image2022-1-25_10-28-50-version-1-modificationdate-1643102931048-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2022-1-25_10-28-50-version-1-modificationdate-1643102931048-api-v2.png) | | --- | --- | ## Example Within [Shipments](/v1/docs/en/shp-shipment), "Service items" (items with the [Line item type](/v1/docs/en/base-line-item-type) "Service") are maintained in addition to the materials to be delivered to define assembly work required in connection with the delivery. In order to ensure that the delivery is carried out or accompanied by suitably qualified employees, these should be identified by specifying their e-mail address(es) when defining a "Service item" and thereby assigned to the shipment. As shown in the following runtime example, the entry form for service items in the **Assembly team** section allows the entry of details for **Service technicians (Email)** in a plural text attribute ([Text type](/v1/docs/en/base-text-type) `RESOURCE_EMAIL`). All service technicians listed in "Service items" are automatically informed by e-mail about any changes to the deadline or status of a shipment. Runtime example: ![images/download/attachments/91132424/image2022-1-25_10-30-5-version-1-modificationdate-1643103005717-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2022-1-25_10-30-5-version-1-modificationdate-1643103005717-api-v2.png) - In the example, resources are already allocated for two of the service items. - The technician "Jay Sanford" is assigned several times. Configuration: | The configuration for the [E-mail](/v1/docs/en/core-send-mail-actor) shown on the right is inserted within an event handling that reacts to all "reportable" [Shipments](/v1/docs/en/shp-shipment) changes: - In the **Recipient** tab, the [Direct line items](/v1/docs/en/base-get-line-items-resolver) value resolver is first used to identify the "Service items" (**Of type** "Service") that are potentially attribute owners of text attributes with the **Text type** "Service technician (E-mail)" (`RESOURCE_EMAIL`). - Since each service item can provide a list of e-mails, but each e-mail recipient only needs to be informed once, a [Collect values](/v1/docs/en/core-collect-resolver) value resolver with the **Join collections** and **Unique values** options is used by concatenation to provide a total list of all e-mail addresses found without duplicates. - First, the **Value to collect** parameter in the [Collect values](/v1/docs/en/core-collect-resolver) value resolver is accessed with the [Mail address text attributes](/v1/docs/en/base-text-attribute-mail-address-resolver) value resolver, which queries the specially set up plural text attribute with the [Text type](/v1/docs/en/base-text-type) "Service technician (E-mail)" (RESOURCE_MAIL) via the **Text type** parameter | ![images/download/attachments/91132424/image2022-1-25_10-32-25-version-1-modificationdate-1643103145824-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2022-1-25_10-32-25-version-1-modificationdate-1643103145824-api-v2.png) | | --- | --- | Runtime example: ![images/download/attachments/91132424/image2022-1-25_10-33-37-version-1-modificationdate-1643103217465-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2022-1-25_10-33-37-version-1-modificationdate-1643103217465-api-v2.png) With the shipment data shown above, for example, three e-mail addressees are identified for service technicians when an appointment is rescheduled.