Title: HTML Email message to User
Last modified: August 30, 2016

---

# HTML Email message to User

 *  Resolved [bastiir](https://wordpress.org/support/users/bastiir/)
 * (@bastiir)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/html-email-message-to-user/)
 * Hi there,
 * I’m trying to send an automated email to the user once they submit the form.
   
   I am able to do that with plain text, Is it however possible to send an email
   template based on HTML/CSS code?
 * Thanks!
 * [https://wordpress.org/plugins/pwebcontact/](https://wordpress.org/plugins/pwebcontact/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Gator Forms Support](https://wordpress.org/support/users/perfect-web-support/)
 * (@perfect-web-support)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/html-email-message-to-user/#post-6745940)
 * Hello,
 * yes – in _Email_ tab just under the template message field you can use _Select
   format_ option to change it to _HTML_. Also click on _Show email variables_ to
   display various syntaxes you can use to style individual form data.
 * Best regards
 *  Thread Starter [bastiir](https://wordpress.org/support/users/bastiir/)
 * (@bastiir)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/html-email-message-to-user/#post-6745952)
 * Thanks for your reply.
 * I have done that, when I test the email however the template doesn’t seem to 
   be working. I only receive a plain HTML text in the automated email?
 *  Plugin Author [Gator Forms Support](https://wordpress.org/support/users/perfect-web-support/)
 * (@perfect-web-support)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/html-email-message-to-user/#post-6745982)
 * So you see bare HTML tags after selecting HTML template?
 * Which version of our Contact Form are you using?
 *  Thread Starter [bastiir](https://wordpress.org/support/users/bastiir/)
 * (@bastiir)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/html-email-message-to-user/#post-6745989)
 * Yes, I select HTML and then save the form. After completing the form on my website
   as a test, I receive the automated email as pure html code/tags.
 * I am using the Version 1.0.7
 *  Plugin Author [Gator Forms Support](https://wordpress.org/support/users/perfect-web-support/)
 * (@perfect-web-support)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/html-email-message-to-user/#post-6746060)
 * Hello,
 * oh, I see now – we have corrected this issue in 2.0.6 version (2.1.2 is the current
   version).
 * To fix that please edit /wp-content/plugins/pwebcontact/pwebcontact.php and search
   for:
 *     ```
       // set email format
                   $is_html = $params->get('email_user_tmpl_format', 1) === 2;
       ```
   
 * and
 *     ```
       // set email format
               $is_html = $params->get('email_admin_tmpl_format', 1) === 2;
       ```
   
 * and delete one = character, so it would look like this:
 *     ```
       // set email format
                   $is_html = $params->get('email_user_tmpl_format', 1) == 2;
       ```
   
 * and
 *     ```
       // set email format
               $is_html = $params->get('email_admin_tmpl_format', 1) == 2;
       ```
   
 * Best regards
 *  Thread Starter [bastiir](https://wordpress.org/support/users/bastiir/)
 * (@bastiir)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/html-email-message-to-user/#post-6746093)
 * Hi,
 * Yes that fixed it.
    Thanks a lot for your help!
 *  Plugin Author [Gator Forms Support](https://wordpress.org/support/users/perfect-web-support/)
 * (@perfect-web-support)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/html-email-message-to-user/#post-6746098)
 * I am glad I could help!
 * Best regards

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘HTML Email message to User’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/pwebcontact_d0e7f0.svg)
 * [Gator Forms: the WordPress Contact Form with bite!](https://wordpress.org/plugins/pwebcontact/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pwebcontact/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pwebcontact/)
 * [Active Topics](https://wordpress.org/support/plugin/pwebcontact/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pwebcontact/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pwebcontact/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Gator Forms Support](https://wordpress.org/support/users/perfect-web-support/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/html-email-message-to-user/#post-6746098)
 * Status: resolved