Page 1 of 1

sendmail problems

PostPosted: 01. March 2004 16:43
by rossbruniges
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

PostPosted: 02. March 2004 15:55
by MAGnUm
need to configure the smtp server part and you need a mail server to point it to if you dont run your own, your isp's should do the trick if it doesnt require auth.

PostPosted: 09. March 2004 13:35
by rickco
Hello MAGnUm,
I have met this problem too.
So can we know how can we configure the smtp server part?
Which is the configuration file?
please help thanks. :lol:

search for

PostPosted: 10. March 2004 02:57
by MAGnUm
search for php.ini on your computer there will be (or should be) 2 files. i dont know which one is the one wampp uses though... open it and search for SMTP it should have server options around it if you need a sample config private message nigelw and he will help you out.