Okay, battle continues to get osTicket setup.
It was grabbing emails, creating tickets, and I could move to a sub-folder, which it created automatically for me at same level as Inbox, Drafts, Sent Items, etc.. so tried to get it to move to a sub-folder under Inbox, like Inbox\processed and it made a folder called "Inbox\processed" at same level. No good. Tried it with Inbox/processed and that's then where it's now broken. It just hangs. I can't now create a subfolder, or even set it to move to say "test" folder. It works fine with Do nothing. Works fine with delete the email. But I can't now set a sub folder. I've since found it should have been defined as "Inbox.mysubfolderhangingofftheinbox" ie. using a dot rather than slash, but that doesn't help fix the hanging UI now :-(
Does anyone know how to clean up and remove the duff setting which seems to have got into the system. Not sure if it's O365 or osTicket which has this bad subfolder.
Hopefully this helps others avoid breaking things. DONT use forward slash in your sub-folder.
As for fixing things? maybe it's in database and I need to clean it out somehow?
Failing that, I will restore my virtual machine to last night backup! See pictures...
Email Fetching - Move to Folder - Hangs osTicket UI then 500 error
You can try completely deleting the email from the helpdesk, re-adding it, and reconfiguring it.
Cheers.
- Edited
KevinTheJedi yep tried that. ta. hmm.
If I can't resolve then I'll restore my VM to see if that fixes it, and if no go, then will delete and redo the Office365 mailbox. ... but it would be good to know how to fix without rollback the machine, as I'd be cheating!
EDIT: So I restored the VM to as first thing today, and still have the issue. So it's at Office365 end. Time to delete and redo the mailbox. Again. I will update tomorrow!
(Day 3 of setting up osTicket)
- Edited
Day 4.
So, restored the VM for osTicket to be rolled back, reconfigured, and deleted/recreated mailbox with Office365. All working again. So it turns out that something breaks Office 365 and/or osTicket if you try to use a subfolder of Inbox with a forward slash. eg. "INBOX/fetched" or whatever. Trying to use dot doesn't work. I can't see a way to put fetched emails into a subfolder of InBox, so will move on for now. Maybe it's a bug in osTicket, or when osTicket asks Office365, or whatever then ends up in the MariaDB/MySQL or something. Anyway it all goes pear-shaped from then on.
For now I will not worry, will stick with a folder called something like "InBox.osTicket" and maybe developers can look into this?
** So for now, I'd say don't use forward slash in your Fetched Emails move to folder setting. **
Leaving here for warning/info for others.
You simply put the name of the folder. You do not need to do anything else. Instead of "INBOX.osTicket2" you should be using just "osTicket2".
Cheers.
Just to finish off this subject/answer, in the end just left it as "Inbox.osTicket" for the emails which were handled and moved from "Inbox". I could have just called is "processed" or whatever. There didn't seem a way to use a sub-folder off of "Inbox". osTicket works (and nicely), so job done good enough anyway. Ta.