简体   繁体   中英

Sending an email from a .Net application to recipients, I want to retrieve the email of the recipient who clicked the link

If I am sending an email from a .Net application to recipient A and recipient B, containing a link to a website. How can I retrieve the email of the recipient who clicked the link, and save it in the Database?

You need to send separate emails; this will not work with one email with multiple recipients.

Generate a random token for each user, and in the email for each user have a link with that token in the querystring. When they follow the link, you can check the querystring in your server and thus find out who clicked on it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM