Missing html wrapper tag in email body.
-
Hello.
Have a problem with missing <html> wrapper tag in email generated by Ninja Forms.
Used plugin “WP Mail Logging” to see the body and headers of sent emails. Checked emails generated by two different ways.
The first is default test message generated by plugin “WP Mail SMTP” through default PHP function without SMTP. And here all is ok.
The second is generated by Ninja Forms. Option for HTML type was on, but sent email has no <html> tag, when other tags, like <p> or <strong>, still was there.
Both messages had “Content-Type: text/html” in its headers according to WP Mail Logging.Since the problem appears exactly with email that was generated by Ninja Forms, I suppose, the problem is somewhere here.
So, how I can fix it?
- The topic ‘Missing html wrapper tag in email body.’ is closed to new replies.