somebody please tell me how to use the php mail function. i think its sytax is mail(Senerder's address, subject , body)
but the above one is not sending the mail so should i have to configure myoutgoing mail server before using this function or the above sytanx has to be change
Advertisements. Register and be a member of the community to get rid of them.
i dont know anything about php coding....but i do know that many sites dont support the mail function of php unless u pay them....if ur on a free site that may be so
WELL DEEP THANX FOR YOUR GREAT HELP BUT I M STILL UNABLE TO SEND MAILS USING PHP MAIL(). HERE THE TEST CODE I USE TO SEND MAIL CHECK THIS AND TELL ME WHERE IS THE FAULT:
<?php
if(mail("anilmail17@yahoo.co.in","hiiiii","check this"))
echo "mail sended";
else
echo "mail delivery failure";
?>
WELL DEEP THANX FOR YOUR GREAT HELP BUT I M STILL UNABLE TO SEND MAILS USING PHP MAIL(). HERE THE TEST CODE I USE TO SEND MAIL CHECK THIS AND TELL ME WHERE IS THE FAULT:
<?php
if(mail("anilmail17@yahoo.co.in","hiiiii","check this"))
echo "mail sended";
else
echo "mail delivery failure";
?>
NO I M NOT GETTING ANY TYPE OF ERROR CODE THE CODE WORKS FINE I GET THE OUTPUT 'MAIL SENDED' BUT NO NEW MAIL IS RECIVED TO ME
YOU CAN CHECK THIS http://efriend.freelinuxhost.com/mail.php