Index: project_issue.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/project_issue/project_issue.module,v
retrieving revision 1.68
diff -u -r1.68 project_issue.module
--- project_issue.module	3 Nov 2007 13:53:20 -0000	1.68
+++ project_issue.module	3 Nov 2007 15:48:08 -0000
@@ -191,6 +191,15 @@
     );
   }
 
+  $form['project_send_from']  = array(
+    '#type' => 'textfield',
+    '#title' => t('Send-from address for e-mail notifications'),
+    '#default_value' => variable_get('project_send_from', 'noreply@'. $_SERVER['HTTP_HOST']),
+    '#size' => 30,
+    '#maxlength' => 255,
+    '#description' => t('Sender address to use in e-mail notification.'),
+  );
+
   return system_settings_form($form);
 }
 
Index: mail.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/project_issue/mail.inc,v
retrieving revision 1.88
diff -u -r1.88 mail.inc
--- mail.inc	2 Nov 2007 01:16:06 -0000	1.88
+++ mail.inc	3 Nov 2007 15:49:38 -0000
@@ -284,8 +284,8 @@
   $hr = str_repeat('-', 72);
 
   // Create mail header
-  $sender->name = mime_header_encode("$project->title ". t('issue queue'));
-  $sender->mail = $project->mail;
+  $sender->name = mime_header_encode(($pos = strpos($node->updator, '@')) ? drupal_substr($node->updator, 0, $pos) : $node->updator);
+  $sender->mail = variable_get('project_send_from', 'noreply@'. $_SERVER['HTTP_HOST']);
   $domain = preg_replace('|.+://([a-zA-Z0-9\._-]+).*|', '\1', $base_url);
   $header = array(
     'Return-Path' => "<$sender->mail>",
@@ -334,7 +334,7 @@
   }
 
   project_mail_output($node->title, 0);
-  $node->title = "[". t($node->category) ."] $node->title";
+  $node->title = "[$project->title " . t($node->category) ."] $node->title";
 
   while ($recipient = db_fetch_object($result)) {
     drupal_mail('project_issue_update', $recipient->mail, $node->title, $body, NULL, $header);
