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);
    }
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);
    }
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 ) ; }
Prepares the message body.

@param \Cake\Mailer\Email $email Email instance
@return string
Prepares the message body .