Email Code

You might also like

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 1

<?

php
ini_set( 'display_errors', 1 );
error_reporting( E_ALL );
$from = "bookshop@sithruwan.com";
$to = "support@supportindeed.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";
?>

You might also like