msg:address_header

March 26, 2020 Contributors

Name

msg:address_header — Returns address components as an array

Synopsis

msg:address_header(...);

...: mixed

Description

Parses each instance of the named header for RFC2822 addresses and returns the component of those addresses as an array.

The ellipsis (…) in the parameter list indicates that this function has any number of arguments.

Enable this function with the statement require('msys.extended.message');.

See Also

msys.parseRFC2822Addresses