<?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: Reply-to Address</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Reply-to Address</description>
<language>en</language>
<pubDate>Wed, 06 May 2026 08:55:41 +0000</pubDate>

<item>
<title>yuniar on "[closed] Reply-to Address"</title>
<link>https://www.machform.com/forums/topic/reply-to-address#post-381</link>
<pubDate>Thu, 29 Nov 2007 07:53:33 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">381@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi loophole,&#60;/p&#62;
&#60;p&#62;You are right, it won't work with multiple forms.&#60;br /&#62;
To do that, you will need to add conditional code, so the whole code would be like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$mail-&#38;gt;Host     = &#38;quot;127.0.0.1&#38;quot;;
$mail-&#38;gt;Mailer   = &#38;quot;mail&#38;quot;;
$mail-&#38;gt;CharSet  = &#38;#39;UTF-8&#38;#39;;

if($form_id == 3){
	$mail-&#38;gt;From = $table_data[&#38;#39;element_2&#38;#39;];
}else if($form_id == 4){
	$mail-&#38;gt;From = $table_data[&#38;#39;element_6&#38;#39;];
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;&#60;code&#62;&#60;/code&#62;&#60;br /&#62;
Adjust the form id and element id value as needed.
&#60;/p&#62;</description>
</item>
<item>
<title>loophole on "[closed] Reply-to Address"</title>
<link>https://www.machform.com/forums/topic/reply-to-address#post-378</link>
<pubDate>Thu, 29 Nov 2007 04:20:21 +0000</pubDate>
<dc:creator>loophole</dc:creator>
<guid isPermaLink="false">378@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;What if I have more than one form that I would like this to work with - for example one form has element_2 as the email field, but another has element_6
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "[closed] Reply-to Address"</title>
<link>https://www.machform.com/forums/topic/reply-to-address#post-291</link>
<pubDate>Wed, 14 Nov 2007 21:32:18 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">291@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;That's odd. Can I take a look into your MachForm admin panel?&#60;/p&#62;
&#60;p&#62;Please send me the detail (URL, user+password) to customer.service [at] appnitro.com
&#60;/p&#62;</description>
</item>
<item>
<title>CMSports on "[closed] Reply-to Address"</title>
<link>https://www.machform.com/forums/topic/reply-to-address#post-290</link>
<pubDate>Wed, 14 Nov 2007 21:21:34 +0000</pubDate>
<dc:creator>CMSports</dc:creator>
<guid isPermaLink="false">290@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;The replyTo... when I do nothing to the code. hitting the reply, send email to my address.. changing the code. above.. will send a relpy to different email address not the one I typed in.. on the form itself. and submitted..&#60;/p&#62;
&#60;p&#62;DY
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "[closed] Reply-to Address"</title>
<link>https://www.machform.com/forums/topic/reply-to-address#post-289</link>
<pubDate>Wed, 14 Nov 2007 21:16:58 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">289@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I'm sorry, but I don't really understand what you mean.&#60;/p&#62;
&#60;p&#62;So the &#60;strong&#62;ReplyTo&#60;/strong&#62; is not working for &#60;strong&#62;required&#60;/strong&#62; field?
&#60;/p&#62;</description>
</item>
<item>
<title>CMSports on "[closed] Reply-to Address"</title>
<link>https://www.machform.com/forums/topic/reply-to-address#post-288</link>
<pubDate>Wed, 14 Nov 2007 20:27:34 +0000</pubDate>
<dc:creator>CMSports</dc:creator>
<guid isPermaLink="false">288@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;try this.. the reply email is changed, but no where near what it should be when the user leaves their email address in a field that is * requre *&#60;br /&#62;
this is what I have now&#60;/p&#62;
&#60;p&#62;$mail-&#38;gt;Host     = &#34;127.0.0.1&#34;;&#60;br /&#62;
$mail-&#38;gt;Mailer   = &#34;mail&#34;;&#60;br /&#62;
$mail-&#38;gt;CharSet  = 'UTF-8';&#60;br /&#62;
$mail-&#38;gt;ReplyTo  = $table_data['element_9'];&#60;/p&#62;
&#60;p&#62;when I view source for view.php.. I see this&#60;/p&#62;
&#60;p&#62;&#38;lt;label class=&#34;description&#34; for=&#34;element_9&#34;&#38;gt;Email Address: &#38;lt;span id=&#34;required_9&#34; class=&#34;required&#34;&#38;gt;*&#38;lt;/span&#38;gt;&#38;lt;/label&#38;gt;&#60;br /&#62;
		&#38;lt;div&#38;gt;&#60;br /&#62;
			&#38;lt;input id=&#34;element_9&#34; name=&#34;element_9&#34; class=&#34;element text medium&#34; type=&#34;text&#34; maxlength=&#34;255&#34; value=&#34;&#34;/&#38;gt;&#60;/p&#62;
&#60;p&#62;is it me or am I missing something.. &#60;/p&#62;
&#60;p&#62;DY
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "[closed] Reply-to Address"</title>
<link>https://www.machform.com/forums/topic/reply-to-address#post-269</link>
<pubDate>Sun, 11 Nov 2007 05:15:57 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">269@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;On line 433-435 of helper-functions.php you will find this code:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$mail-&#38;gt;Host     = &#38;quot;127.0.0.1&#38;quot;;
$mail-&#38;gt;Mailer   = &#38;quot;mail&#38;quot;;
$mail-&#38;gt;CharSet  = &#38;#39;UTF-8&#38;#39;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;&#60;code&#62;&#60;/code&#62;&#60;br /&#62;
Below that code, add this line:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$mail-&#38;gt;ReplyTo  = $table_data[&#38;#39;XXXX&#38;#39;];&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;&#60;code&#62;&#60;/code&#62;&#60;br /&#62;
Change the &#60;strong&#62;XXXX&#60;/strong&#62; with your form's email field name. View source your form to see it. Usually it will be something like &#60;strong&#62;element_2&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;Let me know if you have any difficulty.
&#60;/p&#62;</description>
</item>
<item>
<title>dustin on "[closed] Reply-to Address"</title>
<link>https://www.machform.com/forums/topic/reply-to-address#post-264</link>
<pubDate>Sun, 11 Nov 2007 00:15:31 +0000</pubDate>
<dc:creator>dustin</dc:creator>
<guid isPermaLink="false">264@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Is there a way to make it so the Reply-to Address for the email is taken from the 'Email' field? Right now if you hit 'reply' to a email sent from MachForm it will reply back to the admin email not the sender.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
