The SMTP RCPT-TO determines what inbox it goes into. The email To header is what we should display.
For example, if I set up my gmail to forward to Scramble, then foo@bar.com sends an email to gmail.com, then Scramble will receive the following message:
RCPT-TO:<dcposch@scramble.io>
...
DATA
From:<foo@bar.com>
To:<dcposch@gmail.com>
...
So this email should show up in the inbox for dcposch@scramble.io, but the From and To should be the ones from the DATA section.
The SMTP RCPT-TO determines what inbox it goes into. The email To header is what we should display.
For example, if I set up my gmail to forward to Scramble, then foo@bar.com sends an email to gmail.com, then Scramble will receive the following message:
So this email should show up in the inbox for
dcposch@scramble.io
, but the From and To should be the ones from the DATA section.