the pag test mail
$to = ‘adel.bensaid90@gmail.com';
$subject = ‘the subject';
$message = ‘hello this is test message';
$headers = ‘From: webmaster@example.com’ . “rn” .
‘Reply-To: webmaster@example.com’ . “rn” .
‘X-Mailer: PHP/’ . phpversion();
$send = mail($to, $subject, $message, $headers);
if($send)
echo ”
Done send mail ..!
“;
else
echo ”
Error send mail ..!
“;
?>