public function getAddressStrings(): array
    {
        $strings = [];
        foreach ($this->addresses as $address) {
            $str = $address->getEncodedAddress();
            if ($address instanceof NamedAddress && $name = $address->getName()) {
                $str = $this->createPhrase($this, $name, $this->getCharset(), empty($strings)).' <'.$str.'>';
            }
            $strings[] = $str;
        }

        return $strings;
    }
public function getAddressStrings(): array
    {
        $strings = [];
        foreach ($this->addresses as $address) {
            $str = $address->getEncodedAddress();
            if ($address instanceof NamedAddress && $name = $address->getName()) {
                $str = $this->createPhrase($this, $name, $this->getCharset(), empty($strings)).' <'.$str.'>';
            }
            $strings[] = $str;
        }

        return $strings;
    }
public function getAddressStrings ( ) : array { $ strings = [ ] ; foreach ( $ this -> addresses as $ address ) { $ str = $ address -> getEncodedAddress ( ) ; if ( $ address instanceof NamedAddress && $ name = $ address -> getName ( ) ) { $ str = $ this -> createPhrase ( $ this , $ name , $ this -> getCharset ( ) , empty ( $ strings ) ) . ' <' . $ str . '>' ; } $ strings [ ] = $ str ; } return $ strings ; }
Gets the full mailbox list of this Header as an array of valid RFC 2822 strings.

@throws RfcComplianceException

@return string[]
Gets the full mailbox list of this Header as an array of valid RFC 2822 strings .