<?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: Could not instantiate mail functoin</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Could not instantiate mail functoin</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 01:43:08 +0000</pubDate>

<item>
<title>grandeland on "Could not instantiate mail functoin"</title>
<link>https://www.machform.com/forums/topic/could-not-instantiate-mail-functoin#post-10912</link>
<pubDate>Tue, 23 Nov 2010 04:50:33 +0000</pubDate>
<dc:creator>grandeland</dc:creator>
<guid isPermaLink="false">10912@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I am using a SmartHost over SMTP and I was getting the same error message and overlooked this setting in the config.php file: &#60;/p&#62;
&#60;p&#62;/** SMTP settings **/&#60;br /&#62;
/** Don't modify it unless you know you are using SMTP **/&#60;br /&#62;
define('USE_SMTP',true); //set this to 'true' to use SMTP&#60;/p&#62;
&#60;p&#62;It was set to false by default. Of course make sure your php.ini file has the same server listed in the SMTP field and it should work.
&#60;/p&#62;</description>
</item>
<item>
<title>bsheitman on "Could not instantiate mail functoin"</title>
<link>https://www.machform.com/forums/topic/could-not-instantiate-mail-functoin#post-8234</link>
<pubDate>Tue, 29 Dec 2009 04:01:46 +0000</pubDate>
<dc:creator>bsheitman</dc:creator>
<guid isPermaLink="false">8234@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Resolved:  Just to update the status on this and provide some background info for future users.  I'm using machform v.2 hosted on bluehost.  When I first installed it it produced an identical error and Bluehost suggested that I must first create an email address for Machform to send from, in this case &#34;no-reply@netmanageit.net&#34;.  Strangely, it worked, until the error cropped again about a year later.&#60;/p&#62;
&#60;p&#62;I went in and deleted &#60;a href=&#34;mailto:no-reply@netmanageit.net&#34;&#62;no-reply@netmanageit.net&#60;/a&#62; address just for grins (didn't know what else to do) and the problem was immediately resolved.  I suspect some changes on their hosting backend removed the need for the dummy email address.
&#60;/p&#62;</description>
</item>
<item>
<title>bsheitman on "Could not instantiate mail functoin"</title>
<link>https://www.machform.com/forums/topic/could-not-instantiate-mail-functoin#post-8233</link>
<pubDate>Tue, 29 Dec 2009 03:24:29 +0000</pubDate>
<dc:creator>bsheitman</dc:creator>
<guid isPermaLink="false">8233@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I get this message:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;Error sending email: Could not instantiate mail function.Error sending email: Could not instantiate mail function.&#60;br /&#62;
Warning: Cannot modify header information - headers already sent by (output started at /home7/netmanag/public_html/machform/includes/helper-functions.php:482) in /home7/netmanag/public_html/machform/embed.php on line 42&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;Whenever I fill out a form and submit it.  I used the mail test detailed in similar posts on this forum and it worked.&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;&#38;lt;?php&#60;br /&#62;
if (mail('ben@netmanageit.com', 'email test','test email'))&#60;br /&#62;
{&#60;br /&#62;
echo 'mail send!';&#60;br /&#62;
}&#60;br /&#62;
?&#38;gt;&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;Not really sure at this point.  Everything looks right in my config.php and in the &#34;send notification email&#34; section of helper-functions.php...also, the forms worked at one point.  &#60;/p&#62;
&#60;p&#62;Can any settings in php.ini affect this?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
