xuexue 15 Junior Poster

hello guys, i had a problem with the automatic email sending using php..

the error states:

Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\xampp\htdocs\edith\email\index.php on line 36

*******index.php
*******this is my code

$to = "juan@yahoo.com";
	$subject = "Email testing";
	$message = "Welcome user!<br><br>";
	$message.= "We have a new update on Test Equipment<br><br>";
	mail($to,$subject,$message)

hope you could help me..tnx ^^