A
A
Alexander2016-09-28 19:36:19
PHP
Alexander, 2016-09-28 19:36:19

How can I organize parsing from Outlock?

I have my own mailbox: [email protected], recordings of operators' conversations are pouring in from the PBX, we set the task of pulling the records into the WEB admin panel ... Any thoughts on how to organize auto upload to FTP when receiving a letter?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ilya, 2016-09-28
@glebovgin

Of the quick options, I can suggest working with the IMAP functions: imap_open() , imap_fetchstructure() , imap_fetchbody() , etc. Here is an example of uploading files from mail. Respectively on cron every minute to pull letters from a box.
A more complicated option is to deal with email piping, that is, in fact, all letters will go to a php script, and there you are already free to do whatever you want with the data. I know that in cPanel email piping worked out of the box.

V
Vitold S, 2016-09-28
@vit1251

You can replace the server with MS-Exchange with any other and store messages after receiving them on the server in the form of files. For example, there are several standard mechanisms for storing letters: MBOX, MAILDIR, etc. then receiving letters and processing them can be reduced to accessing the file system.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question