source/Core/Email.php
public function setRecipient($address = null, $name = null)
    {
        try {
            $address = $this->idnToAscii($address);

            parent::addAddress($address, $name);

            // copying values as original class does not allow to access recipients array
            $this->_aRecipients[] = [$address, $name];
        } catch (Exception $exception) {
        }
    }
public function setRecipient($address = null, $name = null)
    {
        try {
            $address = $this->idnToAscii($address);

            parent::addAddress($address, $name);

            // copying values as original class does not allow to access recipients array
            $this->_aRecipients[] = [$address, $name];
        } catch (Exception $exception) {
        }
    }
public function setRecipient ( $ address = null , $ name = null ) { try { $ address = $ this -> idnToAscii ( $ address ) ; parent :: addAddress ( $ address , $ name ) ; // copying values as original class does not allow to access recipients array $ this -> _aRecipients [ ] = [ $ address , $ name ] ; } catch ( Exception $ exception ) { } }
Sets mail recipient to recipients array

@param string $address recipient email address
@param string $name    recipient name
Sets mail recipient to recipients array