I get this message from the server after pressing Submit:
Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in D:\wwwroot\space54\wwwroot\dyn\shr\use\Inquiry\process.php on line 92
Installation and everything was ok, but i cant get any form data. Can you give me a suggestion?
Thank you,
Euro
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Most servers are set up to support a simple mail server (program capable of sending email). The process.php file makes a call to this program to send the mail. It sounds like your server does not support this feature. Ask for tech support and find out how to make this work.
Here is the process.php code that is supposed to send the email.
mail("name@domain.com","Form Submitted at your website",$message,"From: phpFormGenerator");
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
yes thats it probably. Unfortunately my hoster doesnt want to change anything. So, which changes can I do to the script itself so that it can run? Thank you very much!
Euro
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That one I'm not sure how to solve. I've never run into it before. The easiest solution is to find a host that supports this. Are you sure your host does not support some form of mail or sendmail?
Do you have any other accounts that have this capability?
There are plenty of hosts available that have tons of great stuff available at very reasonable prices. I pay ~$10.00 per year for one of my sites.
If you are not interested in switching your host, and you have verified that your host does not support mail, let me know and I will attempt to find a solution for you.
The only other thing you can consider is "no email". You can delete this line and you won't receive the emails. The form still saves the data and either sends the user to a thankyou page or forwards them to another URL. You can then periodically view the saved data using the admin and take whatever steps you have planned for your collected data.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If your hosting company does not have a mail server running then what you can do is write socket code which interacts directly with the mail server on the receiving end. In this case, your program basically acts as a one-time-use mail server. Of course, it is complicated to code.
Second solution is find a better hosting company. You can try phpFormGenerator's official web hosting: http://www.microterra.net . The basic plan starts at $5/mo and gives you 1GB of disk space.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I get this message from the server after pressing Submit:
Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in D:\wwwroot\space54\wwwroot\dyn\shr\use\Inquiry\process.php on line 92
Installation and everything was ok, but i cant get any form data. Can you give me a suggestion?
Thank you,
Euro
Most servers are set up to support a simple mail server (program capable of sending email). The process.php file makes a call to this program to send the mail. It sounds like your server does not support this feature. Ask for tech support and find out how to make this work.
Here is the process.php code that is supposed to send the email.
mail("name@domain.com","Form Submitted at your website",$message,"From: phpFormGenerator");
Hello,
yes thats it probably. Unfortunately my hoster doesnt want to change anything. So, which changes can I do to the script itself so that it can run? Thank you very much!
Euro
That one I'm not sure how to solve. I've never run into it before. The easiest solution is to find a host that supports this. Are you sure your host does not support some form of mail or sendmail?
Do you have any other accounts that have this capability?
There are plenty of hosts available that have tons of great stuff available at very reasonable prices. I pay ~$10.00 per year for one of my sites.
Check out the Hostgool link from here
http://www.tnteverett.com/
If you are not interested in switching your host, and you have verified that your host does not support mail, let me know and I will attempt to find a solution for you.
The only other thing you can consider is "no email". You can delete this line and you won't receive the emails. The form still saves the data and either sends the user to a thankyou page or forwards them to another URL. You can then periodically view the saved data using the admin and take whatever steps you have planned for your collected data.
If your hosting company does not have a mail server running then what you can do is write socket code which interacts directly with the mail server on the receiving end. In this case, your program basically acts as a one-time-use mail server. Of course, it is complicated to code.
Second solution is find a better hosting company. You can try phpFormGenerator's official web hosting: http://www.microterra.net . The basic plan starts at $5/mo and gives you 1GB of disk space.