imap_rfc822_parse_adrlist

Example

 array imap_rfc822_parse_adrlist ( string $address , string $default_host ) 

Description

Parses the address string as defined in » RFC2822 and for each address.

Return Values

Returns an array of objects. The objects properties are: mailbox - the mailbox name (username) host - the host name personal - the personal name adl - at domain source route