I have a problem with my PHP Mail. It stops working from time to time without me even touching the code. I have a script which checks if required forms are empty. This script wo
could not find if anything wrong in your code. check if APC cache is enabled in your server. sometimes it creates problem in taking updated code.
if you are using SMTP server then mail() function may not work. you can use PEARS for this.