It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming PHP and MySQL Forum

mailing function is not working

Moderator: Malcolm

mailing function is not working

Postby umesh on Wed Jun 01, 2005 8:21 am

hai all,
i wrote sample simple mail function program in php.
code:

<?
if(mail("knr_03@yahoo.com","test","tesst"))
{echo "mail send";
}
?>

when ever i run this program it diplays "mail send".
But it's not send.
What is the problem?And also i configure php.ini file.I used linux system.
Please send me php.ini configuraion and any other configuaraion.
Plz it's urgent ,give me reply to rhis one.

thank you.
umesh
 
Posts: 0
Joined: Wed Jun 01, 2005 8:09 am

Postby webmaster on Wed Jun 01, 2005 12:09 pm

Hi and welcome to DEVPPL.

Im not sure if you can do like you're doing. If your mailserver works, there should not be any trouble with sending a mail.

You have to install a mailserver for that to work. Google about it and you will surely find some mailserver application. I did a little search and found this: link
Make sure to check out our TNX Review and Link Vault Review
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden


Who is online

Users browsing this forum: No registered users and 1 guest