public function addrAppend($type, $addr)
    {
        $addresses = [];
        foreach ($addr as $address) {
            $addresses[] = $this->addrFormat($address);
        }

        return $type . ': ' . implode(', ', $addresses) . static::$LE;
    }
public function addrAppend($type, $addr)
    {
        $addresses = [];
        foreach ($addr as $address) {
            $addresses[] = $this->addrFormat($address);
        }

        return $type . ': ' . implode(', ', $addresses) . static::$LE;
    }
public function addrAppend ( $ type , $ addr ) { $ addresses = [ ] ; foreach ( $ addr as $ address ) { $ addresses [ ] = $ this -> addrFormat ( $ address ) ; } return $ type . ': ' . implode ( ', ' , $ addresses ) . static :: $ LE ; }
Create recipient headers.

@param string $type
@param array  $addr An array of recipients,
where each recipient is a 2-element indexed array with element 0 containing an address
and element 1 containing a name, like:
[['joe@example.com', 'Joe User'], ['zoe@example.com', 'Zoe User']]

@return string
Create recipient headers .