Answers.Body: <p>Until this gets fixed, if you have a mailing where you are experiencing this issue and don't have time to rebuild your template and email from scratch, you can find your mailing in the <code>civicrm_mailing</code> table and set the <code>header_id</code> and <code>footer_id</code> fields to <code>NULL</code>.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-06-16T18:37:54.587Z
Answers.Text: This worked for me too!
Answers.UserDisplayName: themak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-04-23T21:16:08.103Z
Answers.LastActivityDate: 2022-04-23T21:16:08.103Z
Answers.UserDisplayName: Russ Miyagawa
Answers.Body: <p>Ran into this as well. Fixed it by removing the text for the Mailing Header and Mailing Footer under Administer &gt; CiviMail &gt; Headers, Footers, and Automated Messages.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-04-26T02:01:28.307Z
Answers.LastActivityDate: 2022-04-26T02:01:28.307Z
Answers.UserDisplayName: Sean T. Walsh
Answers.Body: <p>It looks like this is fixed in <a href="https://github.com/veda-consulting-company/uk.co.vedaconsulting.mosaico/pull/536" rel="nofollow noreferrer">https://github.com/veda-consulting-company/uk.co.vedaconsulting.mosaico/pull/536</a> so this should be fixed in 2.10.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-03T21:38:26.743Z
Answers.LastActivityDate: 2022-11-03T21:38:26.743Z
Answers.UserDisplayName: Demerit
Answers.Body: <p>Deleting the 2 entries in the table <code>civicrm_mailing_component</code> was my ugly but working solution</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-04-20T09:25:53.243Z
Answers.LastActivityDate: 2022-04-20T09:25:53.243Z
Answers.UserDisplayName: Guillaume Sorel
Answers.Body: <p>I thought I had fixed it by unchecking default next to mailing header.  It no longer showed up in preview.  Also, it was null in the mailing tables, but when I went to send the message it errored with the missing domain.address, action.OptOutURL or action.UnsubscribeURL.  I ended up adding a foot id in the table to send it. This was for a message copied from before the upgrade.  It appears to do the right thing when I create a new message from a template.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-06-28T18:22:40.207Z
Answers.LastActivityDate: 2022-06-28T18:22:40.207Z
Answers.UserDisplayName: Paul-Tahoe
Answers.Body: <p>@Sean T. Walsh:
  Administer &gt; CiviMail &gt; Headers, Footers, and Automated Messages
  was a good hint, but deactivating didn't solve the issue for existing mails / templates.
  My hack: Edit Header / Footer and delete or &lt;!-- comment out --&gt; the contents.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-12-02T11:37:30.230Z
Answers.LastActivityDate: 2022-12-02T11:38:26.767Z
Answers.LastEditDate: 2022-12-02T11:38:26.767Z
Answers.UserDisplayName: Benno
Body: <p>I don't know what triggered this, but mosaico is appending</p>
  <pre><code>Sample Header for HTML formatted content.
  </code></pre>
  <p>at the top of each message and</p>
  <pre><code>Sample Footer for HTML formatted content
  Unsubscribe 
  Address Info
  </code></pre>
  <p>I know I can disable this on traditional CiviMail emails but how can i disable this with mosaico emails.</p>
  <p>Latest Civi/WordPress</p>
  <p>Edit: Disabling header and footer in admin <em>Headers, Footers, and Automated Messages</em> makes no difference.</p>
  <p>Edit: I have Mosaico Message Templates &amp; Pretty Workflow Messages installed but this was fine before and disabling both make no difference.</p>
  <p>Edit 2: I rebuilt the template and email from scratch and the problem seems to have resolved itself. Very strange.</p>
  <p>Its faint to see, but see message.</p>
  <p><a href="https://i.sstatic.net/dlSYj.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/dlSYj.jpg" alt="enter image description here" /></a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-04-20T08:29:55.373Z
Comments.Text: same situation, very strange
Comments.UserDisplayName: Guillaume Sorel
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-04-20T09:19:32.643Z
Comments.Text: opened a ticket here: https://github.com/veda-consulting-company/uk.co.vedaconsulting.mosaico/issues/517
Comments.UserDisplayName: Guillaume Sorel
Tags: <civimail><mosaico>
Title: Mosaico or CiviMail appending Sample Header/Footer Language to emails?
ThreadText: # Mosaico or CiviMail appending Sample Header/Footer Language to emails?
  
  (Asked by: username_0 on 2022-04-13)
  
  I don't know what triggered this, but mosaico is appending
  Sample Header for HTML formatted content.
  
  at the top of each message and
  Sample Footer for HTML formatted content
  Unsubscribe 
  Address Info
  
  I know I can disable this on traditional CiviMail emails but how can i disable this with mosaico emails.
  Latest Civi/WordPress
  Edit: Disabling header and footer in admin Headers, Footers, and Automated Messages makes no difference.
  Edit: I have Mosaico Message Templates & Pretty Workflow Messages installed but this was fine before and disabling both make no difference.
  Edit 2: I rebuilt the template and email from scratch and the problem seems to have resolved itself. Very strange.
  Its faint to see, but see message.
  
  **Tags:** civimail, mosaico
  
  > **Comments:**
  > **username_1**: same situation, very strange  
  > **username_1**: opened a ticket here: https://github.com/veda-consulting-company/uk.co.vedaconsulting.mosaico/issues/517  
  
  ---
  
  ## 6 answers
  
  ### Answer by username_2 on 2022-04-23. Score: 3
  
  Until this gets fixed, if you have a mailing where you are experiencing this issue and don't have time to rebuild your template and email from scratch, you can find your mailing in the `civicrm_mailing` table and set the `header_id` and `footer_id` fields to `NULL`.
  
  > **Comments:**
  > **username_0**: This worked for me too!  
  
  ---
  
  ### Answer by username_3 on 2022-04-26. Score: 2
  
  Ran into this as well. Fixed it by removing the text for the Mailing Header and Mailing Footer under Administer > CiviMail > Headers, Footers, and Automated Messages.
  
  
  ---
  
  ### Answer by username_4 on 2022-11-03. Score: 2
  
  It looks like this is fixed in <https://github.com/veda-consulting-company/uk.co.vedaconsulting.mosaico/pull/536> so this should be fixed in 2.10.
  
  
  ---
  
  ### Answer by username_1 on 2022-04-20. Score: 1
  
  Deleting the 2 entries in the table `civicrm_mailing_component` was my ugly but working solution
  
  
  ---
  
  ### Answer by username_5 on 2022-06-28. Score: 0
  
  I thought I had fixed it by unchecking default next to mailing header. It no longer showed up in preview. Also, it was null in the mailing tables, but when I went to send the message it errored with the missing domain.address, action.OptOutURL or action.UnsubscribeURL. I ended up adding a foot id in the table to send it. This was for a message copied from before the upgrade. It appears to do the right thing when I create a new message from a template.
  
  
  ---
  
  ### Answer by username_6 on 2022-12-02. Score: 0
  
  @username_3:
  Administer > CiviMail > Headers, Footers, and Automated Messages
  was a good hint, but deactivating didn't solve the issue for existing mails / templates.
  My hack: Edit Header / Footer and delete or  the contents.
  
  
  ---
  
  