I have a use-case where user A can send user B a message from our website, which I am using SendGrid to send the message in an email. Then user B can reply to the email with their message and I would like that message to be received at user A’s email. I have been able to setup sending the email from user A to user B with no problems, but I can’t see in the documentation how to configure the email from user B back to user A. Additionally, if there is a conversation back and forth between both users then I would like to keep that in the email thread. Surely this is possible with SendGrid?
Asked
Active
Viewed 4,089 times
3
-
Did you try using the header fields such as Message ID or unique arguments for this? https://docs.sendgrid.com/for-developers/sending-email/unique-arguments – AliAvci Nov 29 '22 at 21:31
1 Answers
2
I have been using replyTo like this:
const message = {
to: '[email protected]',
replyTo: '[email protected]'
bcc: ['[email protected]'],
from: '[email protected]',
text: 'email',
html: '<strong>email</strong>',
substitutions: {
// key-values pairs for substitutions
}
}

Ben Cochrane
- 3,317
- 1
- 14
- 16