Good Morning,

I am running osTicket version 1.15.2

My IMAP settings are as follows:
Status = ENABLE
Hostname = outlook.office365.com
Mail Folder = blank
Port Number = 993
Mail Box Protocol = IMAP + SSL
Fetch Frequency = 1 minute
Emails per Fetch = 30
Fetched E-mails = Do nothing

Under Settings:
Default System Email = helpdesk@wrbl.com
Default Alert Email = Use Default System Email (above)
Verify Email Addresses = unchecked
Email Fetching = Enabled
Accept All Emails = checked
Accept Email Collaborators = checked

SMTP is working and is able to send out e-mail just fine. No errors appear on the IMAP portion and no logs have been created for any issues either. However, any e-mail sent to helpdesk@wrbl.com do not populate as tickets.

UPDATE/SOLUTION:

IMAP was not enabled on our mailbox. Also, when creating a BAT file this is what to throw into it:

START C:\progr~2\php\v7.3\php.exe -f "C:\inetpub\wwwroot\osticket\api\cron.php"

Obviously adjust your path as necessary.

I have a windows scheduler set for every 5 minutes to run the cron.php

The setup information is unclear if I need to add any information into the php file or what. Maybe that is where something is going wrong?

I just realized I had the wrong target for the cron.php. I have reset it to the correct one under the wwwroot.

I think I am doing this all wrong.

How should the Windows Task be laid out?

I have tried multiple ways with no changes in results. What I currently have set is for the windows scheduler to run php.exe with the Argument of the path to the cron.php in the Argument box. Is this correct?

I have also tried a .bat file with the following C:\progra~2\php\v7.3\php.exe -f "C:\inetpub\wwwroot\osticket\api\cron.php"

To the same results.

I should mention that when I select "Fetch on auto-cron" it also does NOT work. So, I believe the issue lies somewhere else.

    I have tried multiple combinations of everything above to no avail. Please assist with this.

    UPDATE:

    We got the Auto Cron to work, we are just trying to get the scheduler to work now. Turned out IMAP was not enabled on the mailbox.

    micahmesser I have also tried a .bat file with the following C:\progra2\php\v7.3\php.exe -f "C:\inetpub\wwwroot\osticket\api\cron.php"

    This looks correct. The scheduler screen shot above would not work.

    Are you still having an issue? BEcause you updated the first post and it sounds like your all set.

    Write a Reply...