Scroll to top

How to send email via PHP?

<?php
$to = “[email protected]”;
$subject = “My subject”;
$txt = “Hello world!”;
$headers = “From: [email protected]” . “rn” .
“CC: [email protected]”;

mail($to,$subject,$txt,$headers);
?>

Leave a Reply

Your email address will not be published.