original_string: private function sendEmail(OutputInterface $output, $content)
      {
          $output->writeln("Sending an email");
          $transport = $this->getTransport();
          $mailer    = \Swift_Mailer::newInstance($transport);
  
          $message = \Swift_Message::newInstance('Bldr Notify - New Message')
              ->setFrom(['no-reply@bldr.io' => 'Bldr'])
              ->setTo($this->getEmails())
              ->setBody(
                  "<p>Bldr has a new message for you from the most recent build</p>\n<br /><pre>{$content}</pre>\n",
                  "text/html"
              )
              ->addPart($content, 'text/plain')
          ;
  
          $result = $mailer->send($message);
  
          return $result;
      }
code: private function sendEmail(OutputInterface $output, $content)
      {
          $output->writeln("Sending an email");
          $transport = $this->getTransport();
          $mailer    = \Swift_Mailer::newInstance($transport);
  
          $message = \Swift_Message::newInstance('Bldr Notify - New Message')
              ->setFrom(['no-reply@bldr.io' => 'Bldr'])
              ->setTo($this->getEmails())
              ->setBody(
                  "<p>Bldr has a new message for you from the most recent build</p>\n<br /><pre>{$content}</pre>\n",
                  "text/html"
              )
              ->addPart($content, 'text/plain')
          ;
  
          $result = $mailer->send($message);
  
          return $result;
      }
code_tokens: private function sendEmail ( OutputInterface $ output , $ content ) { $ output -> writeln ( "Sending an email" ) ; $ transport = $ this -> getTransport ( ) ; $ mailer = \ Swift_Mailer :: newInstance ( $ transport ) ; $ message = \ Swift_Message :: newInstance ( 'Bldr Notify - New Message' ) -> setFrom ( [ 'no-reply@bldr.io' => 'Bldr' ] ) -> setTo ( $ this -> getEmails ( ) ) -> setBody ( "<p>Bldr has a new message for you from the most recent build</p>\n<br /><pre>{$content}</pre>\n" , "text/html" ) -> addPart ( $ content , 'text/plain' ) ; $ result = $ mailer -> send ( $ message ) ; return $ result ; }
docstring: Sends an email with the given message
  
  @param OutputInterface $output
  @param string          $content
  
  @return int
docstring_tokens: Sends an email with the given message