PHP Manual
Prev |  | Next

# imap_rfc822_parse_adrlist

imap_rfc822_parse_adrlist -- Parses an address string

## Description

`string imap_rfc822_parse_adrlist` (string address, string default_host);

This function parses the address string as defined in RFC822 and for each address, returns an array of objects. The 4 objects are:

mailbox - the mailbox name (username)
host - the host name
personal - the personal name
adl - at domain source route

Prev | Home | Next
imap_rfc822_write_address | Up | imap_setflag_full