GentleOz Posted February 13, 2012 Share Posted February 13, 2012 Hi Throughout some of my php pages/scripts that I'm hosting on heliohost, I'm using the mail function of PHP. These basically send out confirmation emails to an event. It seems that these confirmation emails are being sent out randomly, even if the page/script that has the code in it isnt run, and this is 3-4 months after the event they are confirming. Doesnt look great! I was wondering if there is a cache or a memory that hte Mail function in PHP uses, and do I need to clear this out? Or is there a unix process or something that I can start/stop to get more control over the PHP mail function? It seems, but I havent fully confirmed this, that it might be linked to the issues we have with Stevie and each time Stevie recovers from a major problem, is it re-running core processes, etc. Any help, guidance or insight to this would be great. Thanks Chris Quote Link to comment Share on other sites More sharing options...
viclou Posted February 14, 2012 Share Posted February 14, 2012 Are you using a CMS system, or is it a custom script you created? Quote Link to comment Share on other sites More sharing options...
wolstech Posted February 15, 2012 Share Posted February 15, 2012 This sounds almost like the stuck mail queue issue I had on another host. If it failed to send immediately, PHP's mail would pile up in a temp queue that wasn't normally processed by the mail server and sit there for months. When a maintenance script ran a few times a year, it would attempt to clean out backlogged mail queues. It'd find the mail in the temp queue and send it, causing old mail to randomly start arriving months late. I'm not sure if HH does something similar, but it wouldn't surprise me if a similar script runs after a crash on Stevie and causes it. Quote Link to comment Share on other sites More sharing options...
Ice IT Support Posted February 19, 2012 Share Posted February 19, 2012 HelioHost has had PHP mail errors in the past, I don't remember them in great detail though. When I have used PHP mail, the message would be sent on page load, in which case it was a coding error on my part. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.