PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I've just checked it on my testing server it's now coming back with this message as well....
Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\Program Files\xampp\htdocs\football\booking.php on line 10
However the php.ini is set.......this is driving me nuts!
The smtp details i entered in php.ini are from my isp
the sendmail_from is from my email address, which is different to the main address for the site i'm doing - should that make a difference. thing is when i put it from my address that didn't work either.
Wait, are you doing this on a local machine? your ISP is not going to have a smtp server intalled on your computer. This was working from the same machine?
I've had a good couple of hours trying to fathom out php mailer......that's going to take some time to get my head around.
What i can't understand is that the code was working initially and now isn't, and it seems to me to be much simpler to have that simple php code working rather than installing another program to do it.