Created
December 13, 2018 18:39
-
-
Save hackerrahul/238a8b88876d1b69412c2076dc83ef0c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include 'sendemail.php'; | |
$to = 'recipientemail@gmail.com'; | |
$subject = 'Subject for PHPMailer'; | |
$body = 'here is the demo body for email'; | |
$send = send_mail($to,$subject,$body); | |
if($send == 1){ | |
echo 'Mail Sent!'; | |
}else{ | |
echo 'Error Sending Mail.'; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment