wiki:Documentation/ARexxAPI/ADDRRESOLVE

Version 1 (modified by AmigaPhil, 14 months ago) (diff)

--

ADDRRESOLVE

NAME

AddrResolve -- Resolve an alias or name into the corresponding email address(es). (V2.0)

TEMPLATE

VAR/K,STEM/K,ALIAS/A

FUNCTION

Tries to resolve a given alias or name into the corresponding email address(es). The command can resolve both individuals and distribution lists.

INPUTS

VAR/K - variable where the name and/or address(es) of the resulting recipient(s) will be stored
STEM/K - base name used for the stem where the name and/or address(s) of the resulting recipient(s) will be stored
ALIAS/A - alias or name to be resolved

RETURNS

VAR - name and/or address(es) of the matching entry
<STEM>RECPT - name and/or address(es) of the matching entry

RC is set to 5 if the supplied alias or name cannot be resolved.

NOTES

EXAMPLE

BUGS

AddrResolve used to crash in a rather spectacular fashion if it couldn't resolve the supplied alias or name. This was fixed in V2.4.

SEE ALSO

ADDRFIND ?