Empty e-mail body using drupal_mail I'm using drupal_mail for sending eMails from a custom module. This is the code:

function changeme_node_update($node) {
...
$to = "receiver@example.com";
$from = "sender@example.com";
$subject = 'sampletext ' . $nodedate;
$body = "Dear " . $user_name . "! \r\nSome more text\r\n\r\n" . $nodetitle . "\r\nDate:" . $nodedate . "\r\nTime:" . $nodetime . " h";
$body .= "\r\n\r\nSome more text here";

//call mail function
$params = array(
    'subject' =&gt; $subject,
    'body' =&gt; $body,
);
drupal_mail('changeme', 'information', $to, "de", $params, $from);
...
}



function changeme_mail($key, &amp;$message, $params) {
  switch ($key) {
    case 'information':
      $message['subject'] = $params['subject'];
      $message['body'] = $params['body'];
    break;
    }
}


I'm receiving emails with the subject but the message is missing. Also, where to change the encoding?

Thanks!
Try this : 

function changeme_mail($key, &amp;$message, $params) {
  switch ($key) {
    case 'information':
      $message['subject'] = $params['subject'];
      $message['body'][] = $params['body'];
    break;
    }
}


$message['body'] is supposed to be an array as defined here so I changed $message['body'] to $message['body'][]