<?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: Customizing email</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Customizing email</description>
<language>en</language>
<pubDate>Wed, 06 May 2026 02:14:06 +0000</pubDate>

<item>
<title>yuniar on "Customizing email"</title>
<link>https://www.machform.com/forums/topic/customizing-email#post-1318</link>
<pubDate>Tue, 08 Apr 2008 00:23:12 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">1318@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;New version will be released by the end of this month.&#60;/p&#62;
&#60;p&#62;I'm glad to announce some fact regarding the new version:&#60;/p&#62;
&#60;p&#62;- Yes, you will be able to completely customize the email (subject, sender, content) from the admin panel. All form fields are available as {element_X} variable. So you can put it anywhere on your email.&#60;/p&#62;
&#60;p&#62;- It will only post answered questions. Empty answers will be discarded.&#60;br /&#62;
- Checkboxes will be grouped. So the question will be displayed too.&#60;/p&#62;
&#60;p&#62;Hope you like it :-)
&#60;/p&#62;</description>
</item>
<item>
<title>elderban on "Customizing email"</title>
<link>https://www.machform.com/forums/topic/customizing-email#post-1316</link>
<pubDate>Tue, 08 Apr 2008 00:14:05 +0000</pubDate>
<dc:creator>elderban</dc:creator>
<guid isPermaLink="false">1316@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I would like to be able to customize the output as well.&#60;/p&#62;
&#60;p&#62;I noticed the current version will post every anwer even if they didn't answer it, especially if it's a &#34;checkbox&#34; question. If they don't answer a question, the answer shouldn't be included (looks a little confusing).&#60;/p&#62;
&#60;p&#62;Additionally, I noticed that if the question is a checkbox question that it will only show the answers, not the questions.&#60;/p&#62;
&#60;p&#62;Any word when the new version will be available?
&#60;/p&#62;</description>
</item>
<item>
<title>sub on "Customizing email"</title>
<link>https://www.machform.com/forums/topic/customizing-email#post-1140</link>
<pubDate>Thu, 20 Mar 2008 01:17:32 +0000</pubDate>
<dc:creator>sub</dc:creator>
<guid isPermaLink="false">1140@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Oh yeah, an absolute musthave! I really cant get it to work in php
&#60;/p&#62;</description>
</item>
<item>
<title>MatthewGrdinic on "Customizing email"</title>
<link>https://www.machform.com/forums/topic/customizing-email#post-939</link>
<pubDate>Tue, 04 Mar 2008 23:51:09 +0000</pubDate>
<dc:creator>MatthewGrdinic</dc:creator>
<guid isPermaLink="false">939@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I'd also throw in here and say this would be very nice to see!
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Customizing email"</title>
<link>https://www.machform.com/forums/topic/customizing-email#post-896</link>
<pubDate>Wed, 27 Feb 2008 09:36:21 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">896@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Definitely, this is one of the most requested feature. I'm working on it.
&#60;/p&#62;</description>
</item>
<item>
<title>tariqali on "Customizing email"</title>
<link>https://www.machform.com/forums/topic/customizing-email#post-892</link>
<pubDate>Tue, 26 Feb 2008 19:58:57 +0000</pubDate>
<dc:creator>tariqali</dc:creator>
<guid isPermaLink="false">892@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thanks for the reply. I will try to do the hack but I would rather avoid doing so since I am no expert with PHP.&#60;/p&#62;
&#60;p&#62;It would be great to add this in your next release as it will make handling emails much easier.&#60;/p&#62;
&#60;p&#62;Thank you.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Customizing email"</title>
<link>https://www.machform.com/forums/topic/customizing-email#post-889</link>
<pubDate>Tue, 26 Feb 2008 06:42:22 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">889@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;To fully customize the email, you will need to modify &#60;strong&#62;includes/helper-functions.php&#60;/strong&#62; file.&#60;br /&#62;
Around line 421 - 471 you will see all the inner code to prepare the email.&#60;/p&#62;
&#60;p&#62;Basically you can use &#60;strong&#62;$table_data['xxxx']&#60;/strong&#62; variable to access all your form data.&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;xxxx&#60;/strong&#62; is your form field name (right click on your form and view the HTML source to find it)&#60;/p&#62;
&#60;p&#62;So let's take an example of this form:&#60;br /&#62;
&#60;a href=&#34;http://www.appnitro.com/demo/view.php?id=4&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/demo/view.php?id=4&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;If you would like the Email field (element_2) to be the sender of your notification email, then you can insert this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if($form_id == 4){
  $mail-&#38;gt;From = $table_data[&#38;#39;element_2&#38;#39;];
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;&#60;code&#62;&#60;/code&#62;&#60;br /&#62;
Put that code above into line 466, right above this line:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$mail-&#38;gt;Body = $email_body;&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;&#60;/code&#62;&#60;br /&#62;
It's pretty much a hack for now. I'm currently working on easier option so that you could use an easy template and variable to customize the whole email.&#60;/p&#62;
&#60;p&#62;Regarding the email/database switch option, thanks, I'll consider this as more people seem to need it.&#60;/p&#62;
&#60;p&#62;Let me know if you need further help.
&#60;/p&#62;</description>
</item>
<item>
<title>tariqali on "Customizing email"</title>
<link>https://www.machform.com/forums/topic/customizing-email#post-884</link>
<pubDate>Mon, 25 Feb 2008 09:33:33 +0000</pubDate>
<dc:creator>tariqali</dc:creator>
<guid isPermaLink="false">884@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;Is there away to customize the email that is sent when someone submit a form? Right now all I see is tags for {form_name} and that is it. I would like to be able to use some of the form fields in the email subject, email from, etc. That way I can just hit the reply button in my email and send back a reply to the sender instead of looking for the person email. Is this something I can do?&#60;/p&#62;
&#60;p&#62;Also, it would be nice if we can choose if we want the form submissions to be entered in the database or just send out an email.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
</item>

</channel>
</rss>
