Advertisements

I need help!

Postby 4gotten » Fri Oct 05, 2007 12:30 pm

Offline
4gotten
Posts: 1
Joined: Fri Oct 05, 2007 12:22 pm
i cant do the mail() function/ sending email. i followed the tutorial but still i cant. the error message always occur!. here it is

"Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in C:\webroot\mail.php on line 15"

"Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in C:\webroot\mail.php on line 15"

pls help me!

Postby tutorialspoint » Fri Oct 05, 2007 3:55 pm

Offline
tutorialspoint
Site Admin
Posts: 143
Joined: Fri Apr 27, 2007 6:52 pm
Whenever you change the php.ini file, you must also reset the web server. Then all of the PHP variables that you set will be seen by the server.