Answers.Body: <p>Just noting this appeared to fix for the reporter &amp; one other</p>
  <p><a href="https://lab.civicrm.org/dev/core/-/issues/4259#note_90528" rel="nofollow noreferrer">https://lab.civicrm.org/dev/core/-/issues/4259#note_90528</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-05-16T22:27:20.720Z
Answers.LastActivityDate: 2023-05-16T22:27:20.720Z
Answers.UserDisplayName: eileen
Answers.Body: <p>Whenever you hit something you think is a regression please create a ticket in gitlab &amp; indicate you believe it is a regression. We prioritise possible regressions (&amp; accept that some false positives will be reported)</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-04-21T23:54:05.063Z
Answers.LastActivityDate: 2023-04-21T23:54:05.063Z
Answers.UserDisplayName: eileen
Body: <p>Sending invoices with emails, where the invoice is attached as PDF to the email, and having a freely designed email text results in the contents of the email body being replaced with the contents of the invoice PDF and nothing being attached to the email.</p>
  <p>We used the normal emailing invoice workflow and have tested it on CiviCRM 5.57.1, 5.58.1 and 5.60.0 with either Drupal 9.5.1 or 9.5.5.</p>
  <p>How to reproduce:
  First search for a contribution for which you want to send the invoice. Select the ones you want to send in the search result. Choose the action &quot;Invoices - print or email&quot;. On the next screen select &quot;Email Invoice&quot; and fill the now displayed fields with suitable data. We normally use the Invoice Helper extension but the problem also appears without the extension being enabled.
  Enter some subject and some content for the email. Then press send and check the received email(s).</p>
  <p>The content of the received email(s) is that of the invoice that should be attached. The entered email content is gone.
  The invoice template has not been altered and is in default state.</p>
  <p>We discovered this problem with the mentioned CiviCRM version but we do not know with which version this behavior started. The invoice sending worked before.</p>
  <p>Does anybody have the same problem?</p>
  <p>Any help is appreciated.</p>
  <p>Thanks, Stefan</p>
  
Tags: <civicontribute><invoice><attachments>
Title: Invoice sending as email with PDF attachment replaces email contents with PDF contents
ThreadText: # Invoice sending as email with PDF attachment replaces email contents with PDF contents
  
  (Asked by: username_0 on 2023-04-21)
  
  Sending invoices with emails, where the invoice is attached as PDF to the email, and having a freely designed email text results in the contents of the email body being replaced with the contents of the invoice PDF and nothing being attached to the email.
  
  We used the normal emailing invoice workflow and have tested it on CiviCRM 5.57.1, 5.58.1 and 5.60.0 with either Drupal 9.5.1 or 9.5.5.
  
  How to reproduce:
  First search for a contribution for which you want to send the invoice. Select the ones you want to send in the search result. Choose the action "Invoices - print or email". On the next screen select "Email Invoice" and fill the now displayed fields with suitable data. We normally use the Invoice Helper extension but the problem also appears without the extension being enabled.
  Enter some subject and some content for the email. Then press send and check the received email(s).
  
  The content of the received email(s) is that of the invoice that should be attached. The entered email content is gone.
  The invoice template has not been altered and is in default state.
  
  We discovered this problem with the mentioned CiviCRM version but we do not know with which version this behavior started. The invoice sending worked before.
  
  Does anybody have the same problem?
  
  Any help is appreciated.
  
  Thanks, Stefan
  
  **Tags:** civicontribute, invoice, attachments
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2023-05-16. Score: 2
  
  Just noting this appeared to fix for the reporter & one other
  
  <https://lab.civicrm.org/dev/core/-/issues/4259#note_90528>
  
  
  ---
  
  ### Answer by username_1 on 2023-04-21. Score: 0
  
  Whenever you hit something you think is a regression please create a ticket in gitlab & indicate you believe it is a regression. We prioritise possible regressions (& accept that some false positives will be reported)
  
  
  ---
  
  