original_string: public function send($to)
      {
          $message = Swift_Message::newInstance($this->subject)
                  ->setFrom(array(MAIL_USERNAME => 'View Tuber'))
                  ->setTo($to)
                  ->setBody($this->body);
          if ($this->mailer->send($message))
          {
              echo 'Sent';
          }
          else
          {
              echo 'Failed';
          }
      }
code: public function send($to)
      {
          $message = Swift_Message::newInstance($this->subject)
                  ->setFrom(array(MAIL_USERNAME => 'View Tuber'))
                  ->setTo($to)
                  ->setBody($this->body);
          if ($this->mailer->send($message))
          {
              echo 'Sent';
          }
          else
          {
              echo 'Failed';
          }
      }
code_tokens: public function send ( $ to ) { $ message = Swift_Message :: newInstance ( $ this -> subject ) -> setFrom ( array ( MAIL_USERNAME => 'View Tuber' ) ) -> setTo ( $ to ) -> setBody ( $ this -> body ) ; if ( $ this -> mailer -> send ( $ message ) ) { echo 'Sent' ; } else { echo 'Failed' ; } }
docstring: Sends mail.
  
  @param type $to
docstring_tokens: Sends mail .