Answers.Body: <p>We believe it was a problem with file permissions in sites/default/files/civicrm/templates_c applied after the last security update.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-04T08:57:09.770Z
Answers.Text: This happens if you execute drush commands with another user than the webserver user. I would recommend to always use the webserver user if possible. (e.g. via sudo)
Answers.UserDisplayName: Phil_B
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-05T03:09:21.920Z
Answers.LastActivityDate: 2018-03-05T03:09:21.920Z
Answers.UserDisplayName: DMCoding
Body: <p>I'm having a strange problem here: basically, whenever we send a newsletter, only the plain-text part appears. I have checked with the SMTP gateway and the emails it is sending out are the same as the ones CiviCRM is sending. Additionally, when I click the "Preview as HTML" button, a new window appears which is blank except for the text "(null)".</p>
  
  <p>Nothing really has changed except I think a routine upgrade (to 4.7.29). We also emptied the templates_c directory a few weeks ago because it was over 8GB+ in size. In any case I've tried refreshing caches (using URL, dashboard button and drush methods), and loading, modifying and re-saving the newsletter template.</p>
  
  <p>Additionally, I can no longer see contributions on a contact's dashboard (though the number of contributions is correctly displayed). I don't suppose that's related..?</p>
  
Tags: <message-templates><templates><newsletter><caching>
Title: Newsletters only display plain text, not HTML
ThreadText: # Newsletters only display plain text, not HTML
  
  (Asked by: username_0 on 2018-02-28)
  
  I'm having a strange problem here: basically, whenever we send a newsletter, only the plain-text part appears. I have checked with the SMTP gateway and the emails it is sending out are the same as the ones CiviCRM is sending. Additionally, when I click the "Preview as HTML" button, a new window appears which is blank except for the text "(null)".
  
  Nothing really has changed except I think a routine upgrade (to 4.7.29). We also emptied the templates\_c directory a few weeks ago because it was over 8GB+ in size. In any case I've tried refreshing caches (using URL, dashboard button and drush methods), and loading, modifying and re-saving the newsletter template.
  
  Additionally, I can no longer see contributions on a contact's dashboard (though the number of contributions is correctly displayed). I don't suppose that's related..?
  
  **Tags:** message-templates, templates, newsletter, caching
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2018-03-05. Score: 0 | Accepted answer
  
  We believe it was a problem with file permissions in sites/default/files/civicrm/templates\_c applied after the last security update.
  
  > **Comments:**
  > **username_1**: This happens if you execute drush commands with another user than the webserver user. I would recommend to always use the webserver user if possible. (e.g. via sudo)  
  
  ---
  
  