function imap rfc822 parse adrlist


imap_rfc822_parse_adrlistPodręcznik PHPPoprzedniNastępnyimap_rfc822_parse_adrlist (PHP 3>= 3.0.2, PHP 4 )imap_rfc822_parse_adrlist -- Parses an address stringDescriptionarray imap_rfc822_parse_adrlist ( string address, string default_host) This function parses the address string as defined in RFC2822 and for each address, 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 Przykład 1. imap_rfc822_parse_adrlist() example$address_string = "Hartmut Holzgraefe <hartmut@cvs.php.net>, postmaster@somedomain.net, root"; $address_array = imap_rfc822_parse_adrlist($address_string,"somedomain.net"); if(! is_array($address_array)) die("somethings wrong\n"); reset($address_array); while(list($key,$val)=each($address_array)){ print "mailbox : ".$val->mailbox."<br>\n"; print "host : ".$val->host."<br>\n"; print "personal: ".$val->personal."<br>\n"; print "adl : ".$val->adl."<p>\n"; } PoprzedniSpis treściNastępnyimap_reopenPoczątek rozdziałuimap_rfc822_parse_headers

Wyszukiwarka

Podobne podstrony:
function imap rfc822 parse adrlist
function imap rfc822 parse adrlist
function imap rfc822 parse headers
function imap rfc822 parse headers
function imap rfc822 write address
function imap rfc822 write address
function imap rfc822 write address
function mailparse rfc822 parse addresses
function imap listscan
function imap unsubscribe
function imap get quota
function imap listmailbox
function imap deletemailbox
function imap 8bit
function imap expunge

więcej podobnych podstron