How will you set up an automatic read receipt in Gmail?
Sometimes emails are far more important for the sender than the receiver, and they want to be sure if the user reads that mail.
Setting up an automatic read receipt to your emails could help.
- Set up an image server to serve a 1*1 pixel image when the user requests any URL. Record the URL to a database that is requested.
- Create a unique identifier for every sent mail and then point it to the image server you have launched.
- Whenever the receiver opens that email, the image will automatically get loaded. The process is not 100% consistent as some users could ask you to approve the image loading first.
- When the request is granted, a notification with a unique ID can be sent in the form of another email, image name, or any other form of notification.
BY Best Interview Question ON 07 May 2022