My phpformgenerator form doesn't work online but worked fine on my localhost so I guess the problem comes vrom the server I used but I can't figure it out by my self.
If someone could help me on tis it would save my day :]
Thx
Julien
Here is the error message on the thank-you page (http://www.oreste.fr/php/send.php) :
Warning: mail() : "sendmail_from" not set in php.ini or custom "From:" header missing in D:\vhosts\ORESTE.FR\httpdocs\php\send.php on line 11
"Note: When sending mail, the mail must contain a From header. This can be set with the additional_headers parameter, or a default can be set in php.ini.
Failing to do this will result in an error message similar to Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing. The From header sets also Return-Path under Windows.
"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello folks !
My phpformgenerator form doesn't work online but worked fine on my localhost so I guess the problem comes vrom the server I used but I can't figure it out by my self.
If someone could help me on tis it would save my day :]
Thx
Julien
Here is the error message on the thank-you page (http://www.oreste.fr/php/send.php) :
Warning: mail() : "sendmail_from" not set in php.ini or custom "From:" header missing in D:\vhosts\ORESTE.FR\httpdocs\php\send.php on line 11
And here is my send.php code :
<php? '$where_form_is="http://".$_SERVER.strrev(strstr(strrev($_SERVER),"/"));
mail("test@test.com, test2@test.com","Oreste - Contact Form","Contact form:
Nom: " . $_POST . "
Prenom: " . $_POST . "
E-mail: " . $_POST . "
Telephone: " . $_POST . "
Votre demande: " . $_POST . "
");
include("../merci.php"); ?>'
And click here to see the test.php I put on my server to check it :
http://www.oreste.fr/test.php
Follow example 2 from this site.
http://php.net/manual/en/function.mail.php
"Note: When sending mail, the mail must contain a From header. This can be set with the additional_headers parameter, or a default can be set in php.ini.
Failing to do this will result in an error message similar to Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing. The From header sets also Return-Path under Windows.
"