Index: simplenews.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/simplenews/simplenews.module,v
retrieving revision 1.76.2.131
diff -u -r1.76.2.131 simplenews.module
--- simplenews.module	25 Mar 2009 09:55:24 -0000	1.76.2.131
+++ simplenews.module	20 Apr 2009 14:29:33 -0000
@@ -511,7 +511,7 @@
       // Available variables are based on user_mail_tokens().
       // But uses only those which can be used with uid = 0 since simplenews also sends to anonymous users.
       if (isset($form['body_field'])) {
-        $form['body_field']['body']['#description'] = t("This will be the body of your newsletter. Available variables are: !site (the name of your website), !uri (a link to your homepage), !uri_brief (homepage link without the http://), !date (today's date), !login_uri (link to login page), !confirm_subscribe_url (subscription confirmation link), !confirm_unsubscribe_url (unsubscription link), !newsletter_url (link to this newsletter issue), !newsletter_name (name of this newsletter series).");
+        $form['body_field']['body']['#description'] = t("This will be the body of your newsletter. Available variables are: !site (the name of your website), !uri (a link to your homepage), !uri_brief (homepage link without the http://), !date (today's date), !login_uri (link to login page), !confirm_subscribe_url (subscription confirmation link), !confirm_unsubscribe_url (unsubscription link), !newsletter_url (link to this newsletter issue), !newsletter_name (name of this newsletter series), !recipient (name of recipient).");
       }
 
       if (isset($form['#node']->simplenews)) {
@@ -2124,6 +2124,8 @@
   // Get tokens from user_mail_tokens() and add simplenews variables.
   $vars = user_mail_tokens($subscription, $language);
   // Replace existing uri and uri_brief to cope with multilingual sites.
+  $recipient = user_load($subscription->uid);
+  $vars['!recipient_name'] = ($subscription->uid ? $recipient->name : $subscription->email);
   $vars['!uri'] = url('', array('absolute' => TRUE, 'language' => $language));
   $vars['!uri_brief'] = preg_replace('!^https?://!', '', $vars['!uri']);
   $vars['!confirm_subscribe_url'] = url('newsletter/confirm/add/'. $hash, array('absolute' => TRUE, 'language' => $language));
