Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
I use OSTicket on several sites, and have no problem fetching mail with it. To start we are going to need to know why you think it is not working. Does an error message come up at all, or is it just not fetching mail without showing an error? Also, what is the domain of the e-mail address you are trying to fetch mail from? Some e-mail addresses, like Gmail and any other Google Apps e-mail addresses, need some additional settings to work properly. – Sherwin Flight Jun 3 '12 at 2:13
@SherwinFlight I did not setup a cron job,i think how can i do it – techno Jun 3 '12 at 4:46
im using cpanel hosting – techno Jun 3 '12 at 5:08
Are you asking how to set up a cron job in cPanel, or are you asking for the specific osticket cron settings? – Sherwin Flight Jun 3 '12 at 6:28
specific osticket cron settings for cron.php – techno Jun 3 '12 at 12:10

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
Add "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.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.