Hi
Actually I am not receiving the mail either in inbox or in spam so do i need to upload my webpage i have checked all the settings as well. it is allright.
thanks!
In a production server environment php mail function will work for sure. so you can go ahead and check your script on hosting server.
and in your local machine, you have to use a real SMTP server, a better way of finding this is, if you have any mail client (outlook, thunderbird) installed in your local pc, make sure to use the same smtp server in your php.ini too.
Can we have a look on your settings. ?