Hello,
My provider is using CPanel
i upload that php script but shows email sent but never sent
Can you please let me know if i have error in my script:
<?php
if ($address=="") {
echo "<form action=\"mailtest.php\" method=get><p>Address to email: <input type=text name=address></p>";
echo "<p><input type=submit value=\"Send email\"></p>";
} else {
$subject = "Testing mail() function";
$message = "This is a test email";
mail($address,$subject,$message,"From: \"Mail Test\" <$address>");
echo "<p>Mail sent.";
}
?>
Thanks Alot