rodolphe Posted April 6, 2016 Share Posted April 6, 2016 Hello all, I run the latest version of WHMCS on a Windows 2008 R2 server. The tickets are picked up through POP3 from two mailboxes: accounts and help The pickup is done through by the pop.php file, using a scheduled task that runs every 5 minutes, as follows: c:\php\php.exe -q C:\inetpub\wwwroot\whmcs\crons\php.php Since Monday morning, our helpdesk tickets are no longer picked up. As you can see from the below screenshot, it correctly reads the accounts mailbox (and picks up emails from it still). It also correctly authenticates to the help mailbox as it's able to read the number of emails in it, but it is NOT picking them up: At the suggestion of the help team at WHMCS, I've created a test department which picks up from a gmail account. I've been assured that this would be automatically picked up from the pop.php script. As you see above it doesn't show at all. I have also received the following response from WHMCS about this: Hello,It looks like your execution time is set extremely low, at 5 seconds which is causing the issue. When I run the pop.php script in my web browser I am seeing this error (with Display Errors enabled): Fatal error: Maximum execution time of 5 seconds exceeded in C:\inetpub\wwwroot\whmcs\includes\ticketfunctions.php on line 2097152 I recommend upping this limit to at least 30 seconds, if not more to see if that helps allow us to get it to connect to Gmail to test with. If you have any other issues or questions please let us know. I don't know where to change the "execution time" and haven't read from them since yesterday night when I asked the question (I'm based in the UK, they're in the US so this allows for time difference). This is getting increasingly critical for us, can anyone help at all? Thanks in advance, Rodolphe 0 Quote Link to comment Share on other sites More sharing options...
rodolphe Posted April 7, 2016 Author Share Posted April 7, 2016 Solved. After looking at php.ini, CGI and other places, the issue turned out to be a problematic email in the mailbox preventing the POP pickup to work. Emptying the mailbox ended up being the solution. I guess I should have started with that. 0 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.