src/Helpers/Mailer.php
protected function getTo()
    {
        $credentials = $this->config->getCredentials();
        if (isset($credentials[Tag::EmailOnError])) {
            return $credentials[Tag::EmailOnError];
        }
        $env = $this->config->getEnvironment();
        return 'webshop@' . $env['hostName'];
    }
protected function getTo()
    {
        $credentials = $this->config->getCredentials();
        if (isset($credentials[Tag::EmailOnError])) {
            return $credentials[Tag::EmailOnError];
        }
        $env = $this->config->getEnvironment();
        return 'webshop@' . $env['hostName'];
    }
protected function getTo ( ) { $ credentials = $ this -> config -> getCredentials ( ) ; if ( isset ( $ credentials [ Tag :: EmailOnError ] ) ) { return $ credentials [ Tag :: EmailOnError ] ; } $ env = $ this -> config -> getEnvironment ( ) ; return 'webshop@' . $ env [ 'hostName' ] ; }
Returns the mail to address.

This base implementation returns the configured emailonerror address,
which normally is exactly what we want.

@return string
Returns the mail to address .