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 = "somebody@example.com";
$subject = "My subject";
$txt = "Hello world!";
$headers = "From:
webmaster@example.com" . "\r\n" .
"CC: somebodyelse@example.com";
mail($to,$subject,$txt,$headers);
?>
Thanks