code: public function previewByName($msgType, $message, $to)
      {
          return $this->preview($msgType, $message, $to, self::PREVIEW_BY_NAME);
      }
docs: Preview a message by name.
  
  @param string $msgType message type
  @param mixed  $message message
  @param $to
  
  @return mixed