msgpart:address_header
Last updated March 2020
Name
msgpart:address_header — Parse each instance of the named header for RFC2822 addresses
Synopsis
msgpart:address_header(headername, component);
headername: string component: string, optional
Description
Parse each instance of the named header for RFC2822 addresses.
Where the address header is made up of user+detail@domain
, the possible components are:
-
all
the entire email address -
localpart
everything before the@
-
user
the user portion -
detail
the detail portion -
domain
the domain portion
Enable this function with the statement require('msys.extended.message');
.
Was this page helpful?