Title: change request &#8211; send email action
Last modified: October 13, 2018

---

# change request – send email action

 *  Resolved [Peter Raschendorfer](https://wordpress.org/support/users/petersplugins/)
 * (@petersplugins)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/change-request-send-email-action/)
 * When inserting a complete HTML code into the message body the HTML is destroyed
   by automatically inserted `<br>` tags on sending. The only possibility to avoid
   this is to insert the complete HTML code without line breaks – which is not very
   comfortable. There should be an option to disable automatic conversion of line
   breaks into `<br>` tags.

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

 *  [Lap](https://wordpress.org/support/users/lapzor/)
 * (@lapzor)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/change-request-send-email-action/#post-10801969)
 * Hi,
 * You may be able to prevent this behavior by setting the content to text/plain
   instead of text/html, but I’m not sure if that will actually work at this time.
   I’ll discuss it with Danny later today.
 * In the meantime, you could make your own Email action, copy this file and give
   it a new name (like myEmail.php) and comment out or delete line 116.
 * [https://github.com/ibericode/html-forms/blob/master/src/Actions/Email.php](https://github.com/ibericode/html-forms/blob/master/src/Actions/Email.php)
 * Hope that helps. If you have any questions, please let us know!
 *  [Lap](https://wordpress.org/support/users/lapzor/)
 * (@lapzor)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/change-request-send-email-action/#post-10862292)
 * This issue is solved in latest version of HTML forms. Thank you!
 *  Thread Starter [Peter Raschendorfer](https://wordpress.org/support/users/petersplugins/)
 * (@petersplugins)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/change-request-send-email-action/#post-10872254)
 * Thanks a lot for paying attention to this issue. In the meantime my solution 
   was to create the HTML code in an editor and to minify it before pasting it into
   the message box. Everything works fine at the moment and there’s no need for 
   me to change the HTML text. I’ll give it try the next time I have to change something.
 *  Thread Starter [Peter Raschendorfer](https://wordpress.org/support/users/petersplugins/)
 * (@petersplugins)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/change-request-send-email-action/#post-10898762)
 * Just wanted to let you know that I had to make a change today and so I changed
   the minified HTML code back to a readable one. Works like a charm now!

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

The topic ‘change request – send email action’ is closed to new replies.

 * ![](https://ps.w.org/html-forms/assets/icon-256x256.png?rev=1754345)
 * [HTML Forms - Simple WordPress Forms Plugin](https://wordpress.org/plugins/html-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/html-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/html-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/html-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/html-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/html-forms/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Peter Raschendorfer](https://wordpress.org/support/users/petersplugins/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/change-request-send-email-action/#post-10898762)
 * Status: resolved