somebody help me for my php mail functionTQ
<?php
$to = 'myname@gmail.com';
$sub = 'this is a test mail';
$message ='this is a mail :)';
$from = 'From: postmaster@localhost';
$m = mail($to,$sub,$message,$from);
if($m){
echo'<b>ststus:</b> sent';
}else{
echo'<b>ststus:</b> not sent';
}
?>
Warning: mail(): SMTP server response: 553 We do not relay non-local mail, sorry. in E:\xampp\htdocs\mail\mail.php on line 6 status: not sent