My code is not working, how can I solve this problem? I want to receive mail on my Yahoo ID.

```
<?php
  // the message
  $msg = "First line of text\nSecond line of text";

  // use wordwrap() if lines are longer than 70 characters
  $msg = wordwrap($msg,70);

  // send email
  mail("faisalkhan00668@yahoo.com","My subject",$msg);
?>

```

The error:

> 
> Warning: mail() [function.mail]: "sendmail\_from" not set in php.ini or custom "From:" header missing in C:\xampp\htdocs\mail\mail.php on line 9
> 
> 
>