Send Professional Mail Using PHP

Send mail without database using PHP


by : @araratmartiross - coding

<?php

$to = "[email protected]";

$subject = "VIRALPATEL.net";

$body = "Body of your message here you can use HTML too. e.g. <br> <b> Bold </b>";

$headers = "From: Peter ";

$headers .= "Reply-To: [email protected]com ";

$headers .= "Return-Path: [email protected] ";

$headers .= "X-Mailer: PHP5 ";

$headers .= 'MIME-Version: 1.0' . " ";

$headers .= 'Content-type: text/html; charset=iso-8859-1' . " "; mail($to,$subject,$body,$headers);

?>

2020-05-14 17:58:42