<?php
$to = 'test@gmail.com';
$subject = 'Demo mail subject'
$message = 'Body of the smessage';
mail($to, $subject, $message);
//Or we can send directly like below
mail('test@gmail.com', 'Demo mail subject', 'Body of the smessage');
//You can check in spam or inbox in mail
?>
No comments:
Post a Comment