<?php
ini_set( 'display_errors', 1 );
error_reporting( E_ALL );
$from = "test@test.com";
$to = "test@test.com";
$subject = "PHP Mail Test script";
$message = "This is a test to check the PHP Mail functionality";
$headers = "From:" . $from;
mail($to,$subject,$message, $headers);
echo "Test email sent";
?>
ini_set( 'display_errors', 1 );
error_reporting( E_ALL );
$from = "test@test.com";
$to = "test@test.com";
$subject = "PHP Mail Test script";
$message = "This is a test to check the PHP Mail functionality";
$headers = "From:" . $from;
mail($to,$subject,$message, $headers);
echo "Test email sent";
?>
Comments
Post a Comment