Answers.Body: <p>It used to be the logged in user but I guess some people didn't want that and it was changed in <a href="https://issues.civicrm.org/jira/browse/CRM-20308" rel="nofollow noreferrer">https://issues.civicrm.org/jira/browse/CRM-20308</a></p>
  
  <p>So it now uses the order listed there:</p>
  
  <ol>
  <li><p>The Reported by Contact's email address</p></li>
  <li><p>System Default From Address</p></li>
  <li><p>Default Organization Contact email address</p></li>
  <li><p>Logged in user</p></li>
  </ol>
  
  <p>Personally I think logged in user makes more sense, and you could have privacy and also antispam problems with the Reported By address if it's not the org's domain.</p>
  
  <p>It looks like there was a setting added to allow the old behavior, but it's not clear how it's supposed to work. It looks like to prevent using the Reported By contact you would <strong>uncheck</strong> the setting "Allow Mail to be sent from logged in contact's email address" found at Administer->system settings->Outbound Email, except then it would always return the system/org-wide email address.
  <a href="https://github.com/civicrm/civicrm-core/commit/4c981f371a6602cdfcda525895e0d0c40e9294d9#diff-be8afcc653a18926aabd2b40be8469f9" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/commit/4c981f371a6602cdfcda525895e0d0c40e9294d9#diff-be8afcc653a18926aabd2b40be8469f9</a></p>
  
  <p>If you want a quick hack, try changing line 1407 in CRM/Case/BAO/Case.php from:</p>
  
  <pre><code>$receiptFrom = self::getReceiptFrom($activityId);
  </code></pre>
  
  <p>to</p>
  
  <p><code>list($receiptUserName, $receiptUserEmail) = CRM_Contact_BAO_Contact_Location::getEmailDetails($userID);
  $receiptFrom = "$receiptUserName &lt;$receiptUserEmail&gt;";</code></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-12T23:58:38.527Z
Answers.Text: I tried commenting out these lines and the email is still sent from the system email-address.
Answers.UserDisplayName: Kristine
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-13T03:03:07.100Z
Answers.Text: Did you check the box on the outbound email settings?
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-13T05:28:34.883Z
Answers.Text: Yes! It is the default setting.
Answers.UserDisplayName: Kristine
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-13T14:06:42.400Z
Answers.Text: Ok I've edited my answer to a more direct replacement that specifically uses the logged in user id.
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-09T13:07:24.663Z
Answers.LastActivityDate: 2018-11-13T14:06:05.047Z
Answers.LastEditDate: 2018-11-13T14:06:05.047Z
Answers.UserDisplayName: Demerit
Body: <p>When filing an activity in CiviCase, there's the option "Send a Copy" to people listed in Case Roles. The email is sent correctly. However, when I "reply" to the email, the address of the sender is a default system email. Is there an option to have the "reply" email be the user that send the copy?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-09T19:29:46.843Z
Comments.Text: would it be helpful if the email 'from' was an address which, when replied to, adds the reply to the Case? if so, this is possible, well at least having 'Inbound Emails' adding as Activities on to a Case by using 'caseid' in the subject
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-09T19:51:12.810Z
Comments.Text: I think that might be a separate feature for a different problem. I just think that if a copy of the activity is sent to a user, replying to that email should correspond to the sender rather than the organization email address. Perhaps in some cases, the organization email is helpful but for the most part, my client doesn't have an organization email that gets checked frequently.
Comments.UserDisplayName: Kristine
Tags: <email><civicase><activities>
Title: Activity - Send a Copy Email
ThreadText: # Activity - Send a Copy Email
  
  (Asked by: username_0 on 2018-11-09)
  
  When filing an activity in CiviCase, there's the option "Send a Copy" to people listed in Case Roles. The email is sent correctly. However, when I "reply" to the email, the address of the sender is a default system email. Is there an option to have the "reply" email be the user that send the copy?
  
  **Tags:** email, civicase, activities
  
  > **Comments:**
  > **username_1**: would it be helpful if the email 'from' was an address which, when replied to, adds the reply to the Case? if so, this is possible, well at least having 'Inbound Emails' adding as Activities on to a Case by using 'caseid' in the subject  
  > **username_0**: I think that might be a separate feature for a different problem. I just think that if a copy of the activity is sent to a user, replying to that email should correspond to the sender rather than the organization email address. Perhaps in some cases, the organization email is helpful but for the most part, my client doesn't have an organization email that gets checked frequently.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2018-11-09. Score: 2 | Accepted answer
  
  It used to be the logged in user but I guess some people didn't want that and it was changed in https://issues.civicrm.org/jira/browse/CRM-20308
  So it now uses the order listed there:
  
  The Reported by Contact's email address
  System Default From Address
  Default Organization Contact email address
  Logged in user
  
  Personally I think logged in user makes more sense, and you could have privacy and also antispam problems with the Reported By address if it's not the org's domain.
  It looks like there was a setting added to allow the old behavior, but it's not clear how it's supposed to work. It looks like to prevent using the Reported By contact you would uncheck the setting "Allow Mail to be sent from logged in contact's email address" found at Administer->system settings->Outbound Email, except then it would always return the system/org-wide email address.
  https://github.com/civicrm/civicrm-core/commit/4c981f371a6602cdfcda525895e0d0c40e9294d9#diff-be8afcc653a18926aabd2b40be8469f9
  If you want a quick hack, try changing line 1407 in CRM/Case/BAO/Case.php from:
  $receiptFrom = self::getReceiptFrom($activityId);
  
  to
  list($receiptUserName, $receiptUserEmail) = CRM_Contact_BAO_Contact_Location::getEmailDetails($userID);
  $receiptFrom = "$receiptUserName <$receiptUserEmail>";
  
  > **Comments:**
  > **username_0**: I tried commenting out these lines and the email is still sent from the system email-address.  
  > **username_2**: Did you check the box on the outbound email settings?  
  > **username_0**: Yes! It is the default setting.  
  > **username_2**: Ok I've edited my answer to a more direct replacement that specifically uses the logged in user id.  
  
  ---
  
  