Source Code : Using mail() to redirect user information
	    PHP Is Open Source Programming Language You Can Download and use It,  You required xampp server and wamp server . You download From xampp server  from https://www.apachefriends.org/download.html. 
Click Here to download 
 We provide this code related to title for you to solve your developing problem easily. Libraries which is import in this program you can download from http://php.net/. 
Click Here or search from google with Libraries Name you get jar file related it and also http://php.net/ is a official site
Using mail() to redirect user information
 
//File: index.php
<html>
<head>
<title></title>
</head>
<body>
<?
$form = "
<form action="index.php" method="post">
<input type="hidden" name="seenform" value="y">
<b>Send us your comments!</b><br>
Your Name:<br>
<input type="text" name="name" value=""><br>
Your Email:<br>
<input type="text" name="email" value=""><br>
Your Comments:<br>
<textarea name="comments"></textarea><br>
<input type="submit" value="submit!">
</form>
";
if ($seenform != "y") :
     print "$form";
else :
     $recipient = "y@youremail.com";
     $subject = "User Comments ($name)";
     $headers = "From: $email";
     mail($recipient, $subject, $comments, $headers) or die("Could not send email!");
     print "Thank you $name for taking a moment to send us your comments!";
endif;
?>
</body>
</html>
  
  
 Thank with us