Body: <p>When sending individual emails in Civi, we're getting warning about their not being HTML tags in our HTML-only emails.</p>
  <p>Is there a way to change this?</p>
  <p>Should we just use plain-text emails when mailing individuals?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-11-12T23:32:05.287Z
Comments.Text: Is that the _exact_ text of the warning? `HTML-only message, but there is no HTML tag` ? What CMS and are there any plugins that might be outputting that?
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-11-19T21:04:44.113Z
Comments.Text: we're using WordPress, I don't think its a plugin or extension... this comes up specifically when sending a non-newsletter using the "Send an email" feature where we don't have a plain-text version of the email.  This is the warning we get from mail-tester.com: https://snipboard.io/kFYvB9.jpg
Comments.UserDisplayName: flantascience
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-11-19T21:59:47.317Z
Comments.Text: Oh it's from mail-tester. I guess civi could add an `<html>` tag before sending if the html section doesn't contain any.
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-11-21T20:54:25.623Z
Comments.Text: Is there a way for me to add this myself?
Comments.UserDisplayName: flantascience
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-11-21T20:58:50.537Z
Comments.Text: I think so with a little custom extension using https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_alterMailParams/
Comments.UserDisplayName: Demerit
Tags: <civimail>
Title: Individual emails triggering a warning: HTML-only message, but there is no HTML tag Your message should contain an <html> tag
ThreadText: # Individual emails triggering a warning: HTML-only message, but there is no HTML tag Your message should contain an <html> tag
  
  (Asked by: username_0 on 2021-11-12)
  
  When sending individual emails in Civi, we're getting warning about their not being HTML tags in our HTML-only emails.
  
  Is there a way to change this?
  
  Should we just use plain-text emails when mailing individuals?
  
  **Tags:** civimail
  
  > **Comments:**
  > **username_1**: Is that the _exact_ text of the warning? `HTML-only message, but there is no HTML tag` ? What CMS and are there any plugins that might be outputting that?  
  > **username_0**: we're using WordPress, I don't think its a plugin or extension... this comes up specifically when sending a non-newsletter using the "Send an email" feature where we don't have a plain-text version of the email.  This is the warning we get from mail-tester.com: https://snipboard.io/kFYvB9.jpg  
  > **username_1**: Oh it's from mail-tester. I guess civi could add an `<html>` tag before sending if the html section doesn't contain any.  
  > **username_0**: Is there a way for me to add this myself?  
  > **username_1**: I think so with a little custom extension using https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_alterMailParams/  
  
  ---
  
  ## 0 answers
  
  