I have a form where an email address is entered, then used with the MAIL command to send the email. Most of the time it works, sometimes it does not.
To debug, I use the following 3 commands:
Test 1). mail('a@cnn.com','Test1','*'.$return['email'].'*',$hdrs);
Test 2)...