.
Divya
In PHP The mail() function is used to send emails.
<?php
$to = "somebody@example.com";//Recipient's email address
$subject = "My subject";//Subject of the mail
$txt = "Hello world!";//your message
$headers = "From: webmaster@example.com" . "\r\n" .
"CC: somebodyelse@example.com";
mail($to,$subject,$txt,$headers);
?>
.