Hacker News new | ask | show | jobs
by epimetheus2 2305 days ago
how would that work? so every recipient would receive different email content with different pixel?
2 comments

Sort of. It doesn't have to be a traditional file or anything, so it helps to think of it as a unique URL being accessed instead of a different pixel. What makes it work is the client automatically loading all images, which means the user accesses the URL automatically as well. It stops working if the client uses features that disable automatic image loading.

You could implement this by sending each email with an img tag that has a unique url, such as https://foo.bar/baz/id_1.jpg, which the server will route under the hood to a script. The script stores the fact that someone visited id_1, assumes it must have been the recipient since only they have the URL to get to it, and responds with image data to make the whole thing seamless.

Yep. Each user gets an email unique to them.
wouldn't then CC, BCC and TO headers not fit? and emails form different thread, i.e. in gmail?
The headers are totally irrelevant for the actual delivery of the mail. For delivery the so-called envelope is relevant (MAIL FROM, RCPT TO).