Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
include 'sendemail.php';
$to = '';
$subject = 'Subject for PHPMailer';
$body = 'here is the demo body for email';
$send = send_mail($to,$subject,$body);
if($send == 1){
echo 'Mail Sent!';
echo 'Error Sending Mail.';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment