<?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 email body for just one form, default for others</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Custom email body for just one form, default for others</description>
<language>en</language>
<pubDate>Thu, 18 Jun 2026 11:29:26 +0000</pubDate>

<item>
<title>philipwareham on "Custom email body for just one form, default for others"</title>
<link>https://www.machform.com/forums/topic/custom-email-body-for-just-one-form-default-for-others#post-7245</link>
<pubDate>Tue, 08 Sep 2009 23:07:50 +0000</pubDate>
<dc:creator>philipwareham</dc:creator>
<guid isPermaLink="false">7245@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Works great, thanks yuniar
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Custom email body for just one form, default for others"</title>
<link>https://www.machform.com/forums/topic/custom-email-body-for-just-one-form-default-for-others#post-7237</link>
<pubDate>Tue, 08 Sep 2009 10:50:49 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">7237@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Yes, that is possible. You can use something like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if($form_id == 7){
    $email_body = &#38;#39;&#38;lt;img src=&#38;quot;/images/my-image-example.gif&#38;quot;/&#38;gt;&#38;lt;table width=&#38;quot;100%&#38;quot; border=&#38;quot;0&#38;quot; cellspacing=&#38;quot;0&#38;quot; cellpadding=&#38;quot;0&#38;quot; style=&#38;quot;font-family:Lucida Grande,Tahoma,Arial,Verdana,sans-serif;font-size:12px;text-align:left&#38;quot;&#38;gt;&#38;#39;.&#38;quot;\n&#38;quot;;
}else{
    $email_body = &#38;#39;&#38;lt;table width=&#38;quot;100%&#38;quot; border=&#38;quot;0&#38;quot; cellspacing=&#38;quot;0&#38;quot; cellpadding=&#38;quot;0&#38;quot; style=&#38;quot;font-family:Lucida Grande,Tahoma,Arial,Verdana,sans-serif;font-size:12px;text-align:left&#38;quot;&#38;gt;&#38;#39;.&#38;quot;\n&#38;quot;;
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>philipwareham on "Custom email body for just one form, default for others"</title>
<link>https://www.machform.com/forums/topic/custom-email-body-for-just-one-form-default-for-others#post-7230</link>
<pubDate>Mon, 07 Sep 2009 19:27:19 +0000</pubDate>
<dc:creator>philipwareham</dc:creator>
<guid isPermaLink="false">7230@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi there,&#60;br /&#62;
Is there a way to alter the code slightly in helper-function.php so that most emails use the standard template with line 326 as...&#60;/p&#62;
&#60;p&#62;$email_body = '&#38;lt;table width=&#34;100%&#34; border=&#34;0&#34; cellspacing=&#34;0&#34; cellpadding=&#34;0&#34; style=&#34;font-family:Lucida Grande,Tahoma,Arial,Verdana,sans-serif;font-size:12px;text-align:left&#34;&#38;gt;'.&#34;\n&#34;;&#60;/p&#62;
&#60;p&#62;...but, say for example, only form 7 uses a customised version of that line with...&#60;/p&#62;
&#60;p&#62;$email_body = '&#38;lt;img src=&#34;/images/my-image-example.gif&#34;/&#38;gt;&#38;lt;table width=&#34;100%&#34; border=&#34;0&#34; cellspacing=&#34;0&#34; cellpadding=&#34;0&#34; style=&#34;font-family:Lucida Grande,Tahoma,Arial,Verdana,sans-serif;font-size:12px;text-align:left&#34;&#38;gt;'.&#34;\n&#34;;&#60;/p&#62;
&#60;p&#62;I'm sure this can be done with 'if' conditional statements? But if so, how do I do it?&#60;/p&#62;
&#60;p&#62;Thanks in advance,&#60;br /&#62;
Phil
&#60;/p&#62;</description>
</item>

</channel>
</rss>
