Answers.Body: <p>I think this might be the same type of problem as in <a href="https://civicrm.stackexchange.com/questions/27905/confirmation-receipt-sent-from-strange-sender-address">Confirmation receipt sent from strange sender address</a>, just maybe a different set of code.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-05-21T02:20:29.100Z
Answers.Text: Almost certainly the same issue.
Answers.UserDisplayName: Phil Morice Brubaker
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-05-20T22:51:01.307Z
Answers.LastActivityDate: 2019-05-20T22:51:01.307Z
Answers.UserDisplayName: Demerit
Body: <p>A constituent pointed out that she received an emailed invoice from "[4-digit-number]@[host-domain]" rather than from our normal organization email address. (We use CiviHosting's shared server.)</p>
  
  <p>I haven't made any changes to the Civi settings, and upon checking, the default From Email Address is set to "office@[our-domain]" as expected and the mailer is set to "mail()".</p>
  
  <p>Other emails are sent as expected:</p>
  
  <ul>
  <li>individual emails</li>
  <li>bulk email</li>
  <li>automatic receipts for online contributions</li>
  <li>automatic registration confirmations for events</li>
  </ul>
  
  <p>I have discovered that when a back-end user triggers "Send Invoice" for a contribution, if one of that user's email addresses is chosen as From Address to use, it is ignored and the host-server address is used. If, however, one of the CiviMail-configured From Addresses is used, it is sent properly.</p>
  
  <p>I just became aware of this last week, and I have a copy of an invoice sent a few weeks before that with the correct From address, so something happened within that window of time to cause a change.</p>
  
  <p>civi 5.9.0, joomla 3.9.5</p>
  
Tags: <civimail>
Title: Invoices are sent from the host domain instead of the proper From Address
ThreadText: # Invoices are sent from the host domain instead of the proper From Address
  
  (Asked by: username_0 on 2019-05-20)
  
  A constituent pointed out that she received an emailed invoice from "[4-digit-number]@[host-domain]" rather than from our normal organization email address. (We use CiviHosting's shared server.)
  
  I haven't made any changes to the Civi settings, and upon checking, the default From Email Address is set to "office@[our-domain]" as expected and the mailer is set to "mail()".
  
  Other emails are sent as expected:
  
  * individual emails
  * bulk email
  * automatic receipts for online contributions
  * automatic registration confirmations for events
  
  I have discovered that when a back-end user triggers "Send Invoice" for a contribution, if one of that user's email addresses is chosen as From Address to use, it is ignored and the host-server address is used. If, however, one of the CiviMail-configured From Addresses is used, it is sent properly.
  
  I just became aware of this last week, and I have a copy of an invoice sent a few weeks before that with the correct From address, so something happened within that window of time to cause a change.
  
  civi 5.9.0, joomla 3.9.5
  
  **Tags:** civimail
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-05-20. Score: 2
  
  I think this might be the same type of problem as in [Confirmation receipt sent from strange sender address](https://civicrm.stackexchange.com/questions/27905/confirmation-receipt-sent-from-strange-sender-address), just maybe a different set of code.
  
  > **Comments:**
  > **username_0**: Almost certainly the same issue.  
  
  ---
  
  