sendmail problems
Posted: 01. March 2004 16:43
First things first I have to say that your software is great! I had totally give up trying to install all this stuff myself so being able to use this was superb!
I have just got one prob though, and hopefully its a small one to sort out;
i have created a php form with which i want to send emails with using the sendmail bit of php, when running the script i get the error message :
Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in C:\minixampp\htdocs\phpWork\chapter13\email.php on line 6
and in case its needed line 6 of my script is:
if (mail($mailTo, $subject, $body, "From: $mailFrom")) {
the values for the mail function are gained obviously from the form
hope you guys can help, it looks to me like i need to ass something to the php.ini file but as im not sure what to add i thought best thing would be to ask the experts, hope you know the prob!
and also im using the mini version of xampp
I have just got one prob though, and hopefully its a small one to sort out;
i have created a php form with which i want to send emails with using the sendmail bit of php, when running the script i get the error message :
Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in C:\minixampp\htdocs\phpWork\chapter13\email.php on line 6
and in case its needed line 6 of my script is:
if (mail($mailTo, $subject, $body, "From: $mailFrom")) {
the values for the mail function are gained obviously from the form
hope you guys can help, it looks to me like i need to ass something to the php.ini file but as im not sure what to add i thought best thing would be to ask the experts, hope you know the prob!
and also im using the mini version of xampp