Could u plz lemme know, if sending a mail using PHP requires any server or something like working email system?
I tried simple text mail using php in localhost using below code but, it didn't work:
$to = "<my frnd'z id>";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "<my id>";
$headers = "From:" . $from;
echo "Mail Sent.";
If it need a server, is there any link to get a free test server?
Thanx in advance!