How to implement the sending of messages from mail to a visitor?

On the website of the user message sent from a chat-bot in the mail. How to make so that it was possible in response to this message to send to the visitor (that's the one who wrote the message) the chat-bot reply message. That is, the user sends an email, the consultant gets it and writes an answer that goes to the user in the chat. How it can be implemented?
June 8th 19 at 16:43
1 answer
June 8th 19 at 16:45
Substitute the address of the user in the Reply-To header

Find more questions by tags E-mailJavaScriptPHP