Index: /Applications/MAMP/htdocs/project_testing/drupal/sites/all/modules/project_issue/mail.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/project_issue/mail.inc,v
retrieving revision 1.101
diff -u -p -r1.101 mail.inc
--- mail.inc	23 Jan 2008 19:15:53 -0000	1.101
+++ mail.inc	9 Feb 2008 20:09:53 -0000
@@ -292,6 +292,16 @@ function project_mail_notify($nid) {
     $body = "$links\n". project_mail_generate_followup_mail_body($node, $history, TRUE);
     drupal_mail('project_issue_update', $project->mail_copy, $subject, $body, $from, $header);
   }
+  
+  // Send e-mail messages for *all* issues for *all* projects on the site to the master subscription addresses.
+  $master_subscriptions = variable_get(project_issue_master_subscription, '');
+  if (!empty($master_subscriptions)) {
+    $master_addresses = explode(',', $master_subscriptions);
+    foreach ($master_addresses as $address) {
+      $address = trim($address);
+      drupal_mail('project_issue_update', $address, $subject, $body, $from, $header);
+    }
+  }
 }
 
 /**
Index: /Applications/MAMP/htdocs/project_testing/drupal/sites/all/modules/project_issue/project_issue.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/project_issue/project_issue.install,v
retrieving revision 1.41
diff -u -p -r1.41 project_issue.install
--- project_issue.install	4 Feb 2008 03:49:07 -0000	1.41
+++ project_issue.install	9 Feb 2008 20:09:54 -0000
@@ -210,6 +210,7 @@ function project_issue_uninstall() {
     'project_issue_reminder_interval',
     'project_issue_show_comment_signatures',
     'project_issue_site_help',
+    'project_issue_master_subscription',
   );
   foreach ($variables as $variable) {
     variable_del($variable);
Index: /Applications/MAMP/htdocs/project_testing/drupal/sites/all/modules/project_issue/project_issue.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/project_issue/project_issue.module,v
retrieving revision 1.83
diff -u -p -r1.83 project_issue.module
--- project_issue.module	8 Feb 2008 17:49:26 -0000	1.83
+++ project_issue.module	9 Feb 2008 20:09:55 -0000
@@ -236,6 +236,13 @@ function project_issue_settings_form() {
     '#description' => t('Optionally enter site-wide help text that will be displayed whenever a user tries to create a new issue. Please note that there is no automatic formatting on this text, but you can use regular HTML tags as necessary (for example %p, %ul, and so on).', array('%p' => '<p>', '%ul' => '<ul>')),
   );
 
+  $form['project_issue_master_subscription'] = array(
+    '#title' => t('E-mail address to receive all project issues'),
+    '#type' => 'textfield',
+    '#default_value' => variable_get('project_issue_master_subscription', ''),
+    '#maxlength' => 100,
+    '#description' => t('Optionally enter one or more e-mail addresses (separated by a comma).  Each address entered will be subscribed to all issues for all projects on this site.'),
+  );
   return system_settings_form($form);
 }
 
