<?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: Custom body copy for email notification</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Custom body copy for email notification</description>
<language>en</language>
<pubDate>Mon, 15 Jun 2026 06:21:29 +0000</pubDate>

<item>
<title>xlawdog on "Custom body copy for email notification"</title>
<link>https://www.machform.com/forums/topic/custom-body-copy-for-email-notification#post-692</link>
<pubDate>Thu, 31 Jan 2008 22:22:33 +0000</pubDate>
<dc:creator>xlawdog</dc:creator>
<guid isPermaLink="false">692@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Beautiful! Thank you.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Custom body copy for email notification"</title>
<link>https://www.machform.com/forums/topic/custom-body-copy-for-email-notification#post-677</link>
<pubDate>Wed, 30 Jan 2008 10:12:26 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">677@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;The easiest way to do this would be editing your &#60;strong&#62;includes/helper-functions.php&#60;/strong&#62;.&#60;/p&#62;
&#60;p&#62;On line 412, you will find this block of code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$email_body = &#38;#39;&#38;#39;;
$i=1;
foreach ($email_data as $data){
	$email_body .= &#38;quot;{$i}) &#38;lt;b&#38;gt;{$data[&#38;#39;label&#38;#39;]}&#38;lt;/b&#38;gt; {$data[&#38;#39;value&#38;#39;]} &#38;quot;;
	$i++;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;&#60;code&#62;&#60;/code&#62;&#60;br /&#62;
As you can see, the &#60;strong&#62;$email_body&#60;/strong&#62; is initialized with an empty string. All we need to do is to initialize that variable with your own custom text for each form.&#60;/p&#62;
&#60;p&#62;The code should be something like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if($form_id == 1){
	$email_body = &#38;#39;Hello this is form 1&#38;#39;;
}elseif($form_id == 2){
	$email_body = &#38;#39;Hello this is form 2&#38;#39;;
}else{
	$email_body = &#38;#39;&#38;#39;;
}
$i=1;
foreach ($email_data as $data){
	$email_body .= &#38;quot;{$i}) &#38;lt;b&#38;gt;{$data[&#38;#39;label&#38;#39;]}&#38;lt;/b&#38;gt; {$data[&#38;#39;value&#38;#39;]} &#38;quot;;
	$i++;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;&#60;code&#62;&#60;/code&#62;&#60;br /&#62;
Simply adjust the text for each form_id and you should be all set.
&#60;/p&#62;</description>
</item>
<item>
<title>xlawdog on "Custom body copy for email notification"</title>
<link>https://www.machform.com/forums/topic/custom-body-copy-for-email-notification#post-668</link>
<pubDate>Tue, 29 Jan 2008 02:34:45 +0000</pubDate>
<dc:creator>xlawdog</dc:creator>
<guid isPermaLink="false">668@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Is there any way to add a sentence or two of body copy above the list of form labels / values in the notification email?&#60;/p&#62;
&#60;p&#62;This would have to be customized and different for each form.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
