<?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: Alter Config.php</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Alter Config.php</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 05:04:47 +0000</pubDate>

<item>
<title>yuniar on "Alter Config.php"</title>
<link>https://www.machform.com/forums/topic/alter-configphp#post-6344</link>
<pubDate>Wed, 24 Jun 2009 19:10:19 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">6344@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Ah... thanks for sharing the info here.
&#60;/p&#62;</description>
</item>
<item>
<title>CraigLlewellyn on "Alter Config.php"</title>
<link>https://www.machform.com/forums/topic/alter-configphp#post-6340</link>
<pubDate>Wed, 24 Jun 2009 05:19:14 +0000</pubDate>
<dc:creator>CraigLlewellyn</dc:creator>
<guid isPermaLink="false">6340@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Fixed. &#60;/p&#62;
&#60;p&#62;The other thing my host didn't make perfectly clear is that not only must it be a valid email hosted by them it must also be on the same domain as the form.
&#60;/p&#62;</description>
</item>
<item>
<title>CraigLlewellyn on "Alter Config.php"</title>
<link>https://www.machform.com/forums/topic/alter-configphp#post-6335</link>
<pubDate>Tue, 23 Jun 2009 16:25:02 +0000</pubDate>
<dc:creator>CraigLlewellyn</dc:creator>
<guid isPermaLink="false">6335@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Contacted by host. Reply below.&#60;/p&#62;
&#60;p&#62;So long as the php form generates a from address which a valid Fasthosts mailbox we do allow the use of such forms. You will however need to ensure that your code includes the ini_set function as described in the following article. This is to ensure that all emails send through the form are fully validated. Sending email from web scripts:http://www.fasthosts.co.uk/knowledge-base/?article_id=65 &#60;/p&#62;
&#60;p&#62;Basically I need to add:&#60;/p&#62;
&#60;p&#62;Use the PHP mail function and set the mail from using the following line of code - replacing $email_from with the correct domain name.&#60;/p&#62;
&#60;p&#62;ini_set(&#34;sendmail_from&#34;, &#34; $email_from &#34;);&#60;br /&#62;
You need to add a fifth &#34;-f&#34; parameter to the sendmail function. This will set the name of the from address.&#60;/p&#62;
&#60;p&#62;mail($email_to, $email_subject, $email_message, $headers, '-f'.$email_from); &#60;/p&#62;
&#60;p&#62;Will give it a go later.
&#60;/p&#62;</description>
</item>
<item>
<title>CraigLlewellyn on "Alter Config.php"</title>
<link>https://www.machform.com/forums/topic/alter-configphp#post-6334</link>
<pubDate>Tue, 23 Jun 2009 16:25:01 +0000</pubDate>
<dc:creator>CraigLlewellyn</dc:creator>
<guid isPermaLink="false">6334@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Contacted by host. Reply below.&#60;/p&#62;
&#60;p&#62;So long as the php form generates a from address which a valid Fasthosts mailbox we do allow the use of such forms. You will however need to ensure that your code includes the ini_set function as described in the following article. This is to ensure that all emails send through the form are fully validated. Sending email from web scripts:http://www.fasthosts.co.uk/knowledge-base/?article_id=65 &#60;/p&#62;
&#60;p&#62;Basically I need to add:&#60;/p&#62;
&#60;p&#62;Use the PHP mail function and set the mail from using the following line of code - replacing $email_from with the correct domain name.&#60;/p&#62;
&#60;p&#62;ini_set(&#34;sendmail_from&#34;, &#34; $email_from &#34;);&#60;br /&#62;
You need to add a fifth &#34;-f&#34; parameter to the sendmail function. This will set the name of the from address.&#60;/p&#62;
&#60;p&#62;mail($email_to, $email_subject, $email_message, $headers, '-f'.$email_from); &#60;/p&#62;
&#60;p&#62;Will give it a go later.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Alter Config.php"</title>
<link>https://www.machform.com/forums/topic/alter-configphp#post-6325</link>
<pubDate>Tue, 23 Jun 2009 09:32:44 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">6325@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;No need to re-install your machform to get the email working.&#60;/p&#62;
&#60;p&#62;Most of the time, your hosting company require you to use SMTP to be able sending email.&#60;br /&#62;
Make sure to contact your host to get the info about this and then put them into your config.php file.&#60;/p&#62;
&#60;p&#62;If the problem persist, we can help you directly.&#60;br /&#62;
Please send us your config.php file and the URL to your machform.&#60;/p&#62;
&#60;p&#62;Mail to: customer.service [at] appnitro.com
&#60;/p&#62;</description>
</item>
<item>
<title>CraigLlewellyn on "Alter Config.php"</title>
<link>https://www.machform.com/forums/topic/alter-configphp#post-6324</link>
<pubDate>Tue, 23 Jun 2009 04:35:19 +0000</pubDate>
<dc:creator>CraigLlewellyn</dc:creator>
<guid isPermaLink="false">6324@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I installed MachForm OK but never setup the email details in config.php. I have now got around to this and copied the file to the server but the form isn't sending email. I am confident the details are OK. Should I have to reload the machform folder and do a fresh install running the installer.php with the updated config.php file or will copying it to the server be fine? If I have to do a full fresh install can I back up my form?&#60;/p&#62;
&#60;p&#62;Just trying to work out where the problem might be. I've seen a few posts about this but the fix always seem to get done outside of the forum.&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
