Here i am new to PHP, i want to send the mail and my application is running on go daddy sahre hosting so please tell me hows can i achieve it . thanks to all.
I got
Beware that while the PHP mail() function is pretty simple and convenient to use, the computer OS must be able to send mail by itself.
You have to check the return value of mail() (boolean, true if mail was accepted for delivery).
$result = mail( ... );
If the $result variable is false, you have to check your computer mail configuration/implementation.
If it is true, and the mail is not sent, you have to check the computer mail logs.