My company have a CRM system, and we are planning to move over to a new, custom built system, and we would like to be able to have the system read incoming and outgoing emails from certain users, and have php log the details of said emails into our databases.
The one thing i am having trouble finding is how to get PHP 5 (are trying to upgrade to PHP 7 but having compatibility problems with our code)
Our 365 accounts are set up so that only our external IT Support company have access to passwords and settings, but is it at all possible to read certain mailboxes from our server and pull all emails coming to and from them?
Sorry if i haven't explained myself that well, im unsure on how to explain what's needed from the project