A
Anonymous
Guest
i write this script and run it on a webserver ,when i went to its address (on the web) i got no error but in mailbox (of raminkit) i didnt got any meessage please help me
Code:
<?php
$mail_to="raminkit@yahoo.com";
$mail_from="shahinkit@yahoo.com";
$mail_reply_to="raminkit@yahoo.com";
$mail_cc="shahinkit@yahoo.com";
$mail_bcc="nooshinkit@yahoo.com";
$mail_headers= "From: $mail_from\r\n\Reply-to: $mail_reply_to\r\n\Cc: $mail_cc\r\nBcc: $mail_bcc";
$mail_subject="php mail test!";
$mail_body="i want to test mail in php .Response me !";
if(mail($mail_to, $mail_subject, $mail_body, $mail_headers))
echo("ok");
else
echo("no");
?>