<?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: New Install - two problems</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: New Install - two problems</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 05:51:33 +0000</pubDate>

<item>
<title>AMurray on "New Install - two problems"</title>
<link>https://www.machform.com/forums/topic/new-install-two-problems#post-9542</link>
<pubDate>Sun, 23 May 2010 11:20:03 +0000</pubDate>
<dc:creator>AMurray</dc:creator>
<guid isPermaLink="false">9542@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;&#60;strong&#62;Concerning emailing the submissions&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;My guess is that Machform can't send the email because it's not configured to do so correctly.&#60;/p&#62;
&#60;p&#62;Take a look at the following settings in your config.php:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;** SMTP settings **/
define(&#38;#39;USE_SMTP&#38;#39;,false); //set this to &#38;#39;true&#38;#39; to use SMTP
define(&#38;#39;SMTP_HOST&#38;#39;,&#38;#39;localhost&#38;#39;); //usually &#38;#39;localhost&#38;#39;
define(&#38;#39;SMTP_PORT&#38;#39;,25); //usually 25, but ask your host if not sure what to use.
define(&#38;#39;SMTP_AUTH&#38;#39;,false); //if your SMTP requires authentication, set this to &#38;#39;true&#38;#39;
define(&#38;#39;SMTP_USERNAME&#38;#39;,&#38;#39;YOUR_SMTP_USERNAME&#38;#39;);
define(&#38;#39;SMTP_PASSWORD&#38;#39;,&#38;#39;YOUR_SMTP_PASSWORD&#38;#39;);
define(&#38;#39;SMTP_SECURE&#38;#39;,false); //set this to &#38;#39;true&#38;#39; if your server is using secure SMTP (TLS/SSL)&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/** Default notification email settings **/
define(&#38;#39;NOTIFICATION_MAIL_FROM&#38;#39;,&#38;#39;no-reply@domain.com&#38;#39;); //define your email address here&#38;#39;
define(&#38;#39;NOTIFICATION_MAIL_FROM_NAME&#38;#39;,&#38;#39;Machform&#38;#39;); //define the &#38;quot;from name&#38;quot; here.
define(&#38;#39;NOTIFICATION_MAIL_SUBJECT&#38;#39;,&#38;#39;Form Submission from Machform&#38;#39;);//define the subject line here&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You also need to set up, for each form the email settings such as to which email address you want the submissions sent.  You can have Machform email you (or your client) every form submission (customisable on a per-form basis) and also to the person filling in the form as an &#34;auto reply&#34; and you can customise the message somewhat and include/exclude certain fields/information.&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;Concerning the uploads&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;Have you defined the settings in config.php under the following section(s)?:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/** Data folder **/
/** Folder settings for your CSS files and upload folder **/
define(&#38;#39;DATA_DIR&#38;#39;, &#38;#39;./data&#38;#39;);  //CSS files folder
define(&#38;#39;UPLOAD_DIR&#38;#39;, &#38;#39;./data&#38;#39;); //for maximum security,
set full path to any folder outside your document root&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;With the uploads, you need to set some options in the config.php such as defining the folder to which uploads will go, and the types of files can be defined as &#34;allow&#34; or &#34;prohibited&#34; as per examples below.  If you want to allow only images to be uploaded, you would define the file type extensions as below:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/** File upload limit **/
define(&#38;#39;UPLOAD_FILETYPE_ALLOW&#38;#39;,&#38;#39;jpeg;jpg;gif;png;&#38;#39;); //allow these file-types&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You can then define &#34;denied&#34; file types if you wish, but anything not in the &#34;allowed&#34; list will be denied also.  Typical &#34;denied&#34; extensions include HTML, PHP, EXE, CGI etc&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;define(&#38;#39;UPLOAD_FILETYPE_DENY&#38;#39;,&#38;#39;php;exe;pl;cgi;html;&#38;#39;); //do not allow these file-types&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The ability to upload files will also depend on your host allowing this.  They may also impose a limit on the file size (e.g. maximum of 2 megabytes), to save the load on their servers caused by uploading 2 gigabyte files or something crazy like that.&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;Finally concerning the custom header&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;The link you gave already shows the form with the custom graphic &#34;Cruise Evaluation form&#34; (?).  That seems to work but I don't know about the blank CSS file you mentioned.
&#60;/p&#62;</description>
</item>
<item>
<title>CruiserPatrick on "New Install - two problems"</title>
<link>https://www.machform.com/forums/topic/new-install-two-problems#post-9533</link>
<pubDate>Sat, 22 May 2010 20:29:54 +0000</pubDate>
<dc:creator>CruiserPatrick</dc:creator>
<guid isPermaLink="false">9533@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I installed the software on my server - everything went well. The form collects the data and displays it for me. Exporting to excel works fine. But I'm having three issues:&#60;/p&#62;
&#60;p&#62;1. I am not receiving any email notification when the form is filled out - and when I go in as admin and request an email be sent, it says it was sent successfully, but it is not. I do not get the notification.&#60;/p&#62;
&#60;p&#62;2. I have an upload field on my form for pictures, but it doesn't work.. It doesn't upload and I don't know where to look on the server to find them if they did.&#60;/p&#62;
&#60;p&#62;3. I would like to add a custom header graphic to the form, but when I click the edit css button I only get a blank window.&#60;/p&#62;
&#60;p&#62;the form is currently at &#60;a href=&#34;http://evaluation.norcalcruises.com/machform/view.php?id=1&#34; rel=&#34;nofollow&#34;&#62;http://evaluation.norcalcruises.com/machform/view.php?id=1&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thank you for any assistance.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
