We're building a web app which contains a form of what documents to request from a client. So
How can I achieve the behavior on the fourth step? I guess there is something like 'Reply-To' header I should set to the real user's email.
I've created an example for you to confirm the logic. Please add feedback to comments and I'll edit accordingly. The idea here is that with your feedback, we can create a Narrative of emails to form a complete and successful conversation.
Does the following logic matches your intent?
"User1" <user1@example.com>
"No-Reply" <noreply@ourcompany.com>
"User2" <user2@example.com>
"User1" <user1@example.com>
If so, here's a working example of a text/plain email including headers + content:
From: "No-Reply" <noreply@ourcompany.com>
To: "User2" <user2@example.com>
Reply-To: "User1" <user1@example.com>
Subject: Document Request
MIME-Version: 1.0 (Created with SublimeText 3)
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Good morning, User2.
Please send us your 1) driver license 2) passport 3) application letter.
Thank you,
Ourcompany Inc.