Summery Summery
Parse and validate a string containing one or more RFC822-style comma-separated email addresses of the form “display name
” into an array of name/address pairs.Syntax Syntax
Description Description
Uses the imap_rfc822_parse_adrlist function if the IMAP extension is available. Note that quotes in the name part are removed.
Parameters Parameters
- $addrstr
-
(Required) The address list string
- $useimap
-
(Optional) Whether to use the IMAP extension to parse the list
Default value: true
Return Return
(array)
Source Source
File: wp-includes/class-phpmailer.php