Index: signup.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/signup/signup.module,v
retrieving revision 1.146
diff -u -r1.146 signup.module
--- signup.module	2 Oct 2008 16:17:51 -0000	1.146
+++ signup.module	6 Oct 2008 17:41:55 -0000
@@ -1971,6 +1971,11 @@
     _signup_token_help($form, 'message_tokens_fieldset');
   }
   
+  $form['copy'] = array(
+    '#type' => 'checkbox',
+    '#title' => t('Send yourself a copy.'), 
+  );
+  
   $form['send'] = array(
     '#type' => 'submit',
     '#value' => t('Send'),
@@ -2021,13 +2026,13 @@
  * @param $form_values
  */
 function signup_broadcast_form_submit($form_id, $form_values) {
+  global $user;
   $addresses = signup_get_email_addresses($form_values['nid']);
   if (is_array($addresses)) {
     if (user_access('administer site configuration')) {
       $from = $form_values['from'];
     }
     else {
-      global $user;
       $from = $user->mail;
     }
     $subject = $form_values['subject'];
@@ -2046,6 +2051,12 @@
       drupal_mail('signup_broadcast_mail', $user_email, $subject, $message, $from);
       watchdog('signup', t('Broadcast email for %event sent to %email.', array('%event' => $event->title, '%email' => $user_email)), WATCHDOG_NOTICE, l(t('view'), 'node/'. $event->nid));
     }
+    if ($form_values['copy']) {
+      drupal_mail('signup_broadcast_mail', $from, t('Copy: ') . $subject, $form_values['message'], $from);
+      watchdog('signup', t('Broadcast email for %event sent to %email.', array('%event' => $event->title, '%email' => $user_email)), WATCHDOG_NOTICE, l(t('view'), 'node/'. $event->nid));
+      drupal_set_message(t('Sent a copy of this message to %usermail', array('%usermail' => $user->mail)));
+    }
+    
   }
   drupal_set_message(t('Message sent to all users who have signed up'));
 }
