Use the following PHP code to send emails from your server:
$mail_to=”destination@address.com”;
$mail_subject=”Hello”;
$mail_from=”yourname@yourdomain.com”;
$mail_body_client=”Hello”;
mail($mail_to,$mail_subject,$mail_body_client,”FROM:”. $mail_from);
where,
$mail_to is the receipent.
$mail_from is the sender.
Comments are closed.