Hai, The problem you are facing is not in PHP, but in your hosting provider. One reason is that you have no permission to use sendmail, second is that IP address si not in the list of allowed domains for the receiver.Check out with your host and check your script with other hostings.Then you will know what the real probelm is?hope it will help!!!!!!!!Sincerely yours,guntaka,http://www.qinf.org/