On Thu, Sep 4, 2014 at 9:36 AM, Jim Giner <jim.giner@xxxxxxxxxxxxxxxxxx> wrote: > Thanks for responding John, but I don't know why you think my method > sounds complicated since I didn't describe 'my method' in detail. I simply > said that mail() isn't working consistently in my script - one single > script - which is from a template of a working process that has previously > worked without problems. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Have you tried debugging via file writing (as opposed to incrementally sending yourself an email)?: file_put_contents('/home/debug.txt', $debugCode, FILE_APPEND);