title: Sending email in php using localhost
body: <p>I am having a bit of a problem getting to send an email from the localhost and kindly need your help. This is the error message I have been getting:</p>
  
  <blockquote>
    <p>Warning: mail(): "sendmail_from" not set in php.ini or custom "From:"
    header missing in C:\xampp\htdocs\email\send_mail.php on line 22.</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/YmkpQ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YmkpQ.jpg" alt="This is my php.ini file"></a></p>
  
  <p><a href="https://i.stack.imgur.com/e0gm7.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/e0gm7.jpg" alt="This is my sendmail.php file"></a></p>
  
  <p><a href="https://i.stack.imgur.com/kgpwH.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kgpwH.jpg" alt="This is my sendmail.ini file"></a></p>
  
  <p>Please assist</p>