I have this script in php and i want to send.an email but it does not work for some reason. This script is running on a server on byethost.
I also know there are other similar posts but they didnt help me.
I do not know if the script contains errors or anything else.
<?php
$to = "[email protected]";
$subject = "My subject";
$txt = "Hello world!";
$headers = "From:
[email protected]" . "\r\n" .
"CC: [email protected]";
mail($to,$subject,$txt,$headers);
?>
Thanks