original_string: protected function _prepareMessage($email)
      {
          $lines = $email->message();
          $messages = [];
          foreach ($lines as $line) {
              if (!empty($line) && ($line[0] === '.')) {
                  $messages[] = '.' . $line;
              } else {
                  $messages[] = $line;
              }
          }
  
          return implode("\r\n", $messages);
      }
code: protected function _prepareMessage($email)
      {
          $lines = $email->message();
          $messages = [];
          foreach ($lines as $line) {
              if (!empty($line) && ($line[0] === '.')) {
                  $messages[] = '.' . $line;
              } else {
                  $messages[] = $line;
              }
          }
  
          return implode("\r\n", $messages);
      }
code_tokens: protected function _prepareMessage ( $ email ) { $ lines = $ email -> message ( ) ; $ messages = [ ] ; foreach ( $ lines as $ line ) { if ( ! empty ( $ line ) && ( $ line [ 0 ] === '.' ) ) { $ messages [ ] = '.' . $ line ; } else { $ messages [ ] = $ line ; } } return implode ( "\r\n" , $ messages ) ; }
docstring: Prepares the message body.
  
  @param \Cake\Mailer\Email $email Email instance
  @return string
docstring_tokens: Prepares the message body .