I have static ip on my home computer. I am using windows-7 with xampp . I creat the code for sending mail
<?php
$to = "someone@example.com";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "someonelse@example.com";
$headers = "From:" . $from;
mail( $to, $subject, $message, $headers );
echo "Mail Sent.";
?>
but sir mail is not received at destination. I thinks is it possible to send mail from my home computer using windows7 xampp?? plz answer