A
A
Alexander2015-04-21 19:41:25
PHP
Alexander, 2015-04-21 19:41:25

How to redirect incoming emails to a script?

Hey!
I have a service where provider and client can communicate with each other. I send notifications of new questions/answers to them by email. The letters have prominent "reply", "ask a question" buttons. By clicking on which they get to the service and can continue the correspondence.
The problem is that some people, instead of pressing these buttons, by inertia, press the "reply" button in their mail client and respond precisely to the notification letter from my service. Accordingly, their answers go nowhere.
Is it possible to do something so that my script accepts their answers, tries to determine what kind of answer it is and to whom - and already automatically duplicates this message through the mechanics of the service. I saw this on Airbnb.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2015-04-21
@librown

Responses should go to a real mail server.
With your service, you must periodically connect to this mail server and collect letters from it.
Then you implement your own logic.
For Bitrix, this is how the technical support module works, you can look at the source code at your own peril and risk.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question