Jump to content

Recommended Posts

Posted

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

Posted

Have you tested that email address "sapateiro@sapateiropirescoxe.heliohost.org" outside of the script to make sure it is all working?

Posted

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 Error

The 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

post-25534-0-63592900-1320157435_thumb.png

Posted

Cool, I figured it was just some coding error. php mail() definitely works on our servers if all the other logic around it works.

Guest
This topic is now closed to further replies.
×
×
  • Create New...