phpmailfunction

MailFunction


<!doctype html>
<head><title>

MailFunction

</title></head>


<body> 

<?php  

//4 Parameters are important to send mail in php

$to="systemwebtec@gmail.com";
$subject="From www.systwwebtech.tk";

$mesg= "hi welcome to php tutorial";

$from="agrawaaldevika@gmail.com";


mail($to,$subject,$mesg,$from);


echo "<h2>mail sent successfully</h2>";


?>