this is my code if(@mail('suresh@xxxxxx','subject','hai this is the test','sakthi@xxxxxx')): print "mail sent succesfully"; else: print "mail can send"; endif; i dont know whether there is any problem with my coding or server problem.both from and two addresses are valid one. A.suresh __________________________________________________________ Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php