toemailaddress() Function
This function may not be compatible with all features of Appian. For details, see the Feature Compatibility section below.

Function

toemailaddress( value )

Converts a value to email address.

See also: Send E-Mail Smart Service

Parameters

Keyword Type Description

value

Any Type

Value to convert.

Returns

Email Address

Usage considerations

Using toemailaddress() with arrays

When operating on arrays, it is not necessary to use apply with toemailaddress. If multiple parameters are passed, or one parameter is an Array, toemailaddress will return an Email Address Array.

Understanding results

Can convert an email address Text.

The output can be converted to a value with an Email Recipient type for use in the To:, Cc:, or Bcc: field in the Setup tab of the Send E-Mail Smart Service.

Examples

toemailaddress("john.doe@company.com") returns john.doe@company.com as an Email Address type.

toemailaddress("john.doe@company.com","jane.doe@company.com") and toemailaddress({"john.doe@company.com","jane.doe@company.com"}) both return {john.doe@company.com,jane.doe@company.com} as a List of Email Address type.

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Compatible
Offline Mobile Compatible
Custom Record Field Expressions Compatible
Open in Github Built: Fri, Aug 12, 2022 (10:01:45 AM)

On This Page

FEEDBACK