The MailAddressParser function outputs the addresses or names parsed from the input mail header's address field (for example, the From, To, or CC fields).
| Input | Data Type | Description |
|---|---|---|
| Input1 | String | The address list. |
| Input2 | int | Sets the Offset property. (optional) |
| Output | Data Type | Description |
|---|---|---|
| Output1 | String | The list of names or addresses parsed from the input mail header's address field. |
| Name | Property Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
| Get | choice |
Specifies whether to output the list of names or addresses parsed from the input mail header's address field.
|
||||||
| Offset | int |
If the input mail header's address field data contains multiple addresses, this property specifies which single address, indexed from the beginning of the list, to output. |
||||||
| Separator | string | If Offset is set to 0, this property specifies the separator to be used to separate each output address. |
| Property | Output | |||
| Input1 | Joe Smith <jsmith@infoteria.com>, "Mary Grant" <mgrant@infoteria.com> | Get | name | Mary Grant |
| Offset | 2 | |||
| Separator | , | |||
| Property | Output | |||
| Input1 | Joe Smith <jsmith@infoteria.com>, "Mary Grant" <mgrant@infoteria.com> | Get | address | jsmith@infoteria.com,mgrant@infoteria.com |
| Offset | 0 | |||
| Separator | , | |||