Ok, so my basic setup is quite simple, I have the Default MTA set to None: Use PHP mail function.
It uses an email address I have set up in Office 365 as the default system email. Emails/alerts can be sent/received to various gmail and Hotmail accounts I have set up.
However nothing ever comes through to my Office 365 accounts. Using the message tracking tool in Exchange 365 shows no trace of any messages being sent to the accounts I have specified in OsTicket. There must be something that is blocking these messages.
Is there somewhere on my OsTicket server where PHP would store some kind of logs that might explain where these messages are disappearing to? I can also try another method of delivery but I'm not sure why this would work for something like gmail and not Office 365?