0
I'm aware there have been multiple question asked on SX about this (e.g. https://webmasters.stackexchange.com/questions/50808/how-to-forward-emails-to-my-custom-domain-to-my-gmail-account), and I know how to redirect emails from my own domain to my Google account.
The question is, can this be done the other way round? For example: I own the domain example.com
and have a catch-all redirect to me@gmail.com
. foo@xyz.com
sends an email to bar@example.com
, and the message is forwarded to my Gmail account. But then, I respond to the message; when my response shows up in foo@xyz.com
's inbox, I would like it to appear to have been sent by whatever address the sender originally used - in this case, bar@example.com
instead of me@gmail.com
.
Is this possible?
That thought crossed my mind, but if I tell Gmail's SMTP server
MAIL FROM bar@example.com
, will it not reject the message? I think some SMTP servers sanity-check outgoing mail and Google most definitely would. – user4520 – 2016-09-30T08:29:20.467I am not talking of the STMP "MAIL FROM" command, but the RFC822 "From:" Header. They can (and often will) differ. – Eugen Rieck – 2016-09-30T10:20:14.640
Okay, thank you, I'll see if this is a viable option. – user4520 – 2016-09-30T13:46:44.263
I'm sure you've figured this out by now - but even in Gmail web UI you can add other 'send from' addresses, and handily set it to default to whichever was the 'to' address. – OJFord – 2017-01-15T12:29:38.643