I am trying to send email using php script but its not working can you suggest me the error
The following code
<?php
try
{
$mail="atul@divyampg.0fess.us";
$contents="message";
$emailto1="atulkumaronline@gmail.com";
$subject="testing";
$headers="adesh";
mail($emailto1, $subject, $contents, $headers);
echo "mail send";
}
catch(Exception $e) {
echo 'Message: ' .$e->getMessage();
}
?>