i am trying to send a email using xampp. I have been in to php.ini and sendmail.ini But it does not work!. I tried to use this code.
<?php $to = 'PixelatedPig9977@gmail.com'; $subject = 'Fake sendmail test'; $message = 'If we can read this, it means that our fake Sendmail setup works!'; $headers= 'From:willlun66@live.se'."\r\n" ; if(mail($to, $subject, $message, $headers)) { echo 'Email sent successfully!'; } else { die('Failure: Email was not sent!'); } ?>
It says the the email was successfully sent but there is nothing at my email!