I'm trying to use osTicket to implement a ticketing system but I'm not able to fetch the mails from an email account even after configuring the host, port, user name and password.
To make the mail fetch work you need to be running thr cron.php file as frequently as you need to poll the mail server.
*/5 * * * * nobody /path/to/php /path/to/api/cron.php
Windows Scheduled Tasks
"c:\php\bin\php.exe c:\website\osticket\api\cron.php" to the Windows scheduled tasks pane.
Note that the cron.php file has restrictions in place to ensure that it is triggered by the server and not a remote browser connection or remote virtual scheduled tasks provider.