<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: Line Breaks in Email</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Line Breaks in Email</description>
<language>en</language>
<pubDate>Wed, 06 May 2026 11:13:54 +0000</pubDate>

<item>
<title>yuniar on "[closed] Line Breaks in Email"</title>
<link>https://www.machform.com/forums/topic/line-breaks-in-email#post-268</link>
<pubDate>Sun, 11 Nov 2007 05:07:12 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">268@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Yep, you have it correct. Thanks for sharing!
&#60;/p&#62;</description>
</item>
<item>
<title>dustin on "[closed] Line Breaks in Email"</title>
<link>https://www.machform.com/forums/topic/line-breaks-in-email#post-265</link>
<pubDate>Sun, 11 Nov 2007 00:23:22 +0000</pubDate>
<dc:creator>dustin</dc:creator>
<guid isPermaLink="false">265@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I believe I have this solved - let me know if this is the best way to go about this:&#60;/p&#62;
&#60;p&#62;On line 341 of helper-functions.php you will find:&#60;/p&#62;
&#60;p&#62;$email_data[$i]['value'] = &#34;&#60;br /&#62;&#34;.htmlspecialchars($value,ENT_QUOTES).&#34;&#60;br /&#62;&#34;;&#60;/p&#62;
&#60;p&#62;Change it to:&#60;/p&#62;
&#60;p&#62;$email_data[$i]['value'] = &#34;&#60;br /&#62;&#34;.nl2br(htmlspecialchars($value,ENT_QUOTES)).&#34;&#60;br /&#62;&#34;;&#60;/p&#62;
&#60;p&#62;Walla! now your emails from forms with texareas/paragraphs will have line breaks!
&#60;/p&#62;</description>
</item>
<item>
<title>dustin on "[closed] Line Breaks in Email"</title>
<link>https://www.machform.com/forums/topic/line-breaks-in-email#post-263</link>
<pubDate>Sun, 11 Nov 2007 00:06:45 +0000</pubDate>
<dc:creator>dustin</dc:creator>
<guid isPermaLink="false">263@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;When receiving the email notification from the submitted form I noticed that the line breaks (in paragraph fields) do not display. However, looking at the actual data in the database the line breaks appear to be there. Is there a simple way to make these line breaks show in the email?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
