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

*******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>";

hope you could help me..tnx ^^

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.