public function addAddress($email, $name = '')
    {
        if (empty($email)) {
            throw new MailerException('email is required for addAddress!');
        }

        $this->_mailer->addAddress($email, $name);

        return $this;
    }
public function addAddress($email, $name = '')
    {
        if (empty($email)) {
            throw new MailerException('email is required for addAddress!');
        }

        $this->_mailer->addAddress($email, $name);

        return $this;
    }
public function addAddress ( $ email , $ name = '' ) { if ( empty ( $ email ) ) { throw new MailerException ( 'email is required for addAddress!' ) ; } $ this -> _mailer -> addAddress ( $ email , $ name ) ; return $ this ; }
Adds a recipient to the email.

@param string $email
@param string $name

@return \Scara\Mail\Mailer
Adds a recipient to the email .