A
A
Andrey Markov2018-03-17 20:17:18
PHP
Andrey Markov, 2018-03-17 20:17:18

Is it possible to process incoming mail on a php server with a script?

Good afternoon, there was a need to process incoming e-mail, and brings it into the database.
At the moment, I have solved this issue through IMAP, once every 10 minutes a script is launched on the server, collects information from mailboxes, and forms a queue for downloading and processing mail, after which, through imap, each letter is downloaded, filtered, and so on ..
This method suits me perfectly, but nevertheless all these events occur once in a while, is it possible to process incoming letters on the server immediately as soon as they arrive at the mail?
There is an old article on habrahab...
https://habrahabr.ru/post/126448/
But to be honest, I didn’t quite understand about setting up DNS and how much this method actually works

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2018-03-17
@Sanasol

sanasol.ws/2013/11/16/%D0%BB%D0%BE%D0%B2%D0%B8%D0%...
sanasol.ws/2014/02/07/%D1%81%D0%BD %D0%BE%D0%B2%D0%...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question