Sapateiro de Pirescoxe Posted November 1, 2011 Posted November 1, 2011 Please, I need some help I am loading my site (www.sapateiropirescoxe.heliohost.org) and in the contacts page a have a message form which action, when submitted, is to “activate” a PHP script. See below: <form action="php/mail_form.php" class="required-form" method="post"> That scrip must be configured with a few information about the To: email the site URL, and so on, see below please: // OPTIONS - PLEASE CONFIGURE THESE BEFORE USE!$yourEmail = "sapateiro@sapateiropirescoxe.heliohost.org"; // the email address you wish to receive these mails through$yourWebsite = "http://www.sapateiropirescoxe.heliohost.org"; // the name of your website$thanksPage = 'obrigado.html'; // URL to 'thanks for sending mail' page; leave empty to keep message on the same page $maxPoints = 4; // max points a person can hit before it refuses to submit - recommend 4: I have done all this but the script doesn’t work. The email message doesn’t get-out and a blank page is opened. Does there anything wrong with the script configurations or the server doesn’t let run the PHP script? Thank you
Krydos Posted November 1, 2011 Posted November 1, 2011 Have you tested that email address "sapateiro@sapateiropirescoxe.heliohost.org" outside of the script to make sure it is all working?
Sapateiro de Pirescoxe Posted November 1, 2011 Author Posted November 1, 2011 Have you tested that email address "sapateiro@sapateiropirescoxe.heliohost.org" outside of the script to make sure it is all working? Yes it’s working. I can receive in that box email message sent from outlook with my personnel email. See picture, please. I am thinking if the Heliohost user name shoudn’t appears in the URL. After hall the site is building in side of /home/sapatos (sapatos is my user name in heliohost login) Thank you for your help This error message also appears with irregularity. There are times that the web page appears clean, other with this error message. Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, webmaster@sapateiropirescoxe.heliohost.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.2.16 (Unix) mod_ssl/2.2.16 OpenSSL/0.9.8e-fips-rhel5 FrontPage/5.0.2.2635 mod_bwlimited/1.4 mod_auth_passthrough/2.1 mod_wsgi/3.3 Python/2.7.1 Server at www.sapateiropirescoxe.heliohost.org Port 80
Sapateiro de Pirescoxe Posted November 3, 2011 Author Posted November 3, 2011 The issue is closed. I have changed the php script and the problem was solved. Regards
Krydos Posted November 3, 2011 Posted November 3, 2011 Cool, I figured it was just some coding error. php mail() definitely works on our servers if all the other logic around it works.
Krydos Posted November 3, 2011 Posted November 3, 2011 Glad your problem got solved! Please spare a few minutes to take our brief survey: http://feedback.heliohost.org/ Your participation in this survey is greatly appreciated.
Recommended Posts