On Thu, Jun 27, 2013 at 1:18 AM, Jakob Hirsch <[email protected]> wrote:
>>
>> I need to extract the last field when delimiter is '@'.
> Why not use the expansion operators that are made just for this purpose?
> ${domain:${address:"[email protected]" <[email protected]>}}
Based on the example given by Soumya, it should work. If the provided
data is a multi address line, such as a multi recipient To: field,
then the ${address:} expansion will fail. You need to use
${addresses:} to get them in a list, then use something like
${extract} or ${reduce} to get the one out of the list that you want.
...Todd
--
The total budget at all receivers for solving senders' problems is $0.
If you want them to accept your mail and manage it the way you want,
send it the way the spec says to. --John Levine
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/