I'm trying to get mail fetching working. I am using the latest osTicket, php 5.4
When I setup the email account on the admin panel, it accept the credentials and server and port and all that, it even created the folder that it is supposed to move fetched mail to.
So next I created a bat file that contains "C:\Program Files (x86)\PHP\v5.4\php.exe -f c:\Inetpub\wwwroot\ticket\api\cron.php > osticket.log"
I set task scheduler to run the bat every 5 minutes. Issue is, nothing happens at all. Even if I execute the bat manually. It will create that osticket.log file but it's empty. My PHP log file shows no errors, but it's not fetching the mail, or moving it, or creating tickets etc.
What am I missing here?