|
imap_rfc822_parse_adrlistParses an address string Description
array imap_rfc822_parse_adrlist
( string
$address
, string $default_host
)Parses the address string as defined in » RFC2822 and for each address. Parameters
Return ValuesReturns an array of objects. The objects properties are:
Examples
Example #1 imap_rfc822_parse_adrlist example
<?php The above example will output: # 0 mailbox : doe host : example.com personal: Joe Doe adl : # 1 mailbox : postmaster host : example.com personal: adl : # 2 mailbox : root host : example.com personal: adl : See Also
|