The “From” part is configurable per specification, it’s called identities. Good email clients will have config options for that.
But there’s an extra part that the server needs to provide so that Google doesn’t think you’re doing something nefarious, i.e. using email as it’s intended to be used, not as Google wants it to be used.
AnyOldName3@lemmy.world 1 month ago
The from field in an email is something that the sender sets, and they don’t have to set it to anything in particular. Unless your email client stops you (which is pretty common these days) you can just enter a made up address, another address that you’d rather receive replies through, or someone else’s address. It’s one of the reasons why phishing emails work - there’s nothing stopping a scammer impersonating anyone they want to.
rklm@lemmy.dbzer0.com 1 month ago
Interesting, I had no idea!
Thank you!
andyburke@fedia.io 1 month ago
I'm an old man, but I also remember the reply-to header as option if your setup precludes you changing the from address header.
Jolteon@lemmy.zip 1 month ago
There’s actually several things preventing you from doing this now. DKIM, SPF, and a couple others that I can’t remember.
AnyOldName3@lemmy.world 1 month ago
There are situations they don’t cover, e.g. if you choose a sender address from the same domain as the real address. Obviously, lots of email services check for that, but it’s not universal - it was a great tool for pranks at university for me.