code: public function setTo($mail = '', $name = null)
      {
          $this->to = Helper::deduplicate(
              array_merge($this->to, call_user_func_array(array('\MimeMailer\Helper', 'checkPeopleArgs'), func_get_args()))
          );
          return $this;
      }
docs: Set To field
  
  @param string/array $mail The email address to add, or an array of name=>email pairs
  @param string/bool $name The name to show for the email address if there is just one
  @return self
  @see \MimeMailer\MimeEmail::checkPeopleArgs