• Hello there,

    I’ve created a responsive HTML code for email and tested it successfully on chrome and firefox. This HTML code contains tags like <html>, <head>, <body>, <style> and it also contains inline styling as well.

    When I put it in ‘Message Body’ section it’s not appearing as it should be.

    I would really appreciate if someone from the community could help me with this.

    Thanks in advance

    https://www.ads-software.com/plugins/contact-form-7/

Viewing 2 replies - 1 through 2 (of 2 total)
  • If you set the “Use HTML content type” option you can include regular HTML in the “Message body” in the mail section.

    See also The Foundations of Coding HTML Email.

    Thread Starter kaushikqi

    (@kaushikqi)

    Thanks for the response.

    It’s already set to “Use HTML content type”, and HTML tags used within <body> section like p, li, br, strong etc are working fine.

    My question is, “Does HTML tags like head, body and style work in the message body?”

    Because I have created HTML code that is using CSS to make my email responsive for multiple screen resolutions.

    Let me know how can I achieve this.

    PS – I’ve already implemented such responsive emails in raw PHP files using “mail” function successfully.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘in Message Body of Automated Email’ is closed to new replies.