Hi Guys: I'm pleased to announce it's been a long time since I've needed help, but I found myself in a bind.<br /><br />I've created a pretty simple form called form.hml as well as a config file for it named formconfig.txt. Both the form and the config file I have placed in the root directory. I'm using soupermail (which I've used before) but everytime I fill out a test form and submit it, I get an error saying that it was unable to find or read the config file. Soupermail.pl is in my cgi-bin directory and I have done a chmod 755 on that file as well as the config file. Is MIME already installed or do I need to install that too? Below I've listed the items that needed to be changed and what I changed them to. Can you eyeball something that's incorrect?<br /><br />In the form itself:<br /><form method="POST" action="/cgi-bin/soupermail.pl"><br /><input type="submit" value="Send Assigment" name="B1"><br /><input type="hidden" name="SoupermailConf" value="/home/integra5/html/formconfig.txt"> (I've also had this value set to just value="formconfig.txt" as well<input type="reset" value="Clear Form" name="B2"><br /><br />In the config file:<br />mailto:[email protected]<br />subject:appraisal assignment<br /><br />In the soupermail.pl file:<br />$soupermailAdmin = '[email protected]';<br />$serverRoot = '/home/integra5/html';<br />$privateRoot = '';<br />$mailhost = '';<br />$mailprog = '/usr/sbin/sendmail';<!--content-->
Just moving to proper forum.<!--content-->
try putting the config file in a folder named formconfig,<br />then it would be<br /><input type="hidden" name="SoupermailConf" value="/formconfig/formconfig.txt"><!--content-->
I just tried your suggestion and unfortunatley I'm getting the same message.<!--content-->
have you gone through their online manual?<br /><!--coloro:blue--><span style="color:blue"><!--/coloro-->http://soupermail.sourceforge.net/manual.html<!--colorc--></span><!--/colorc--><br /><br />I am not much help with pearl,<br />I prefer one of the many free php form scripts out there.<!--content-->
Thanks Don - that was the first thing I tried. I'll keep pluggin away...............<!--content-->
I've never used that script but from the code you posted, the problem appears to be on the path you're passing to the script:<br /><br /><input type="hidden" name="SoupermailConf" value="/home/integra5/html/formconfig.txt"><br /><br />should probably be<br /><br /><input type="hidden" name="SoupermailConf" value="/home/integra5/<b>public_</b>html/formconfig.txt"><!--content-->
By their on line manual<br /><!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->The path to the configuration file must be relative to the web server's root directory. Do not use URLs or absolute paths to the configuration file.<!--QuoteEnd--></div><!--QuoteEEnd--><br /><br />so <br /><input type="hidden" name="SoupermailConf" value="/forms/config.txt"><br />is what they recommend.<!--content-->
OK - I'm giving up on soupermail. It's just frustrating as I have used this script before and it's currently working on a huge form I've created at my workplace. <br /><br />Can you suggest a script that I can use for a simple form where the forms contents are able to be sent to an email address instead of a database?<!--content-->
Try Jack's Ultimate Form Mail:<br /><!--coloro:blue--><span style="color:blue"><!--/coloro-->http://surefirewebdesign.com/scripts/<!--colorc--></span><!--/colorc--><!--content-->
Thanks for the info.<br /><br />I am also happy to announce that I did get the soupermail script after many frustrating tries. Believe it or not, the path to sendmail was not as it was stated that it should be.<br /><br />Thanks for eveyone's help<br />Gina<!--content-->
Glad you have it working <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/kicking.gif" style="vertical-align:middle" emoid=":dance:" border="0" alt="kicking.gif" /> <br /><br /><br />What was the path for sendmail that you used?<br />$mailprog = '/usr/sbin/sendmail';<!--content-->
Actually I was having the same problem...<br /><br />this is the correct path to sendmail:<br /><br />/usr/lib/sendmail<br /><br /><br />Also, for some reason when I put my html file with the form and my config file in my root directory I get an error that it cannot be explicitly read. Did you ever have this problem?<br /><br />As soon as I create a new folder and put both the html and form file there, it works great. But I can't do that as my index page needs to be in the root dir.<br /><br />WIERD!!!<br /><br />Thanks for any help!<!--content-->
Just moving to proper forum.<!--content-->
try putting the config file in a folder named formconfig,<br />then it would be<br /><input type="hidden" name="SoupermailConf" value="/formconfig/formconfig.txt"><!--content-->
I just tried your suggestion and unfortunatley I'm getting the same message.<!--content-->
have you gone through their online manual?<br /><!--coloro:blue--><span style="color:blue"><!--/coloro-->http://soupermail.sourceforge.net/manual.html<!--colorc--></span><!--/colorc--><br /><br />I am not much help with pearl,<br />I prefer one of the many free php form scripts out there.<!--content-->
Thanks Don - that was the first thing I tried. I'll keep pluggin away...............<!--content-->
I've never used that script but from the code you posted, the problem appears to be on the path you're passing to the script:<br /><br /><input type="hidden" name="SoupermailConf" value="/home/integra5/html/formconfig.txt"><br /><br />should probably be<br /><br /><input type="hidden" name="SoupermailConf" value="/home/integra5/<b>public_</b>html/formconfig.txt"><!--content-->
By their on line manual<br /><!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->The path to the configuration file must be relative to the web server's root directory. Do not use URLs or absolute paths to the configuration file.<!--QuoteEnd--></div><!--QuoteEEnd--><br /><br />so <br /><input type="hidden" name="SoupermailConf" value="/forms/config.txt"><br />is what they recommend.<!--content-->
OK - I'm giving up on soupermail. It's just frustrating as I have used this script before and it's currently working on a huge form I've created at my workplace. <br /><br />Can you suggest a script that I can use for a simple form where the forms contents are able to be sent to an email address instead of a database?<!--content-->
Try Jack's Ultimate Form Mail:<br /><!--coloro:blue--><span style="color:blue"><!--/coloro-->http://surefirewebdesign.com/scripts/<!--colorc--></span><!--/colorc--><!--content-->
Thanks for the info.<br /><br />I am also happy to announce that I did get the soupermail script after many frustrating tries. Believe it or not, the path to sendmail was not as it was stated that it should be.<br /><br />Thanks for eveyone's help<br />Gina<!--content-->
Glad you have it working <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/kicking.gif" style="vertical-align:middle" emoid=":dance:" border="0" alt="kicking.gif" /> <br /><br /><br />What was the path for sendmail that you used?<br />$mailprog = '/usr/sbin/sendmail';<!--content-->
Actually I was having the same problem...<br /><br />this is the correct path to sendmail:<br /><br />/usr/lib/sendmail<br /><br /><br />Also, for some reason when I put my html file with the form and my config file in my root directory I get an error that it cannot be explicitly read. Did you ever have this problem?<br /><br />As soon as I create a new folder and put both the html and form file there, it works great. But I can't do that as my index page needs to be in the root dir.<br /><br />WIERD!!!<br /><br />Thanks for any help!<!--content-->