Re: mail() doesn't work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry - I should have followed up here sooner. My last "Eureka" post was a false alarm as the emails suddenly stopped arriving shortly after the post. And since then no progress had been made, except for 1 or two emails that magically appeared during that time.

BUT TODAY - today is a whole new story.

Looking back at my template that I use for these email processors I realized that the only difference in this usage was that I dropped the logic that handled the deletion of the email that was received and processed by the script. Just figured I'd leave the emails in their mailbox for future reference and so I stripped out a single function and the boolean var that triggered a call to it. That's all - a single function.

Well - now my script works perfectly. Ran two dozen tests over a couple hours and every one produced an email response.

But - the real killer is this: I receive an email response regardless of whether I set my boolean switch (to perform the delete) to 'true' or 'false'! Crazy!! Yes - the emails work just fine whether or not the delete code executes or not. Just having it present in the script makes the email send work.

Trust me - completely irrational behavior but I'm happy it works.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux