Link to home
Start Free TrialLog in
Avatar of Johny Bravo
Johny Bravo

asked on

Unsubscribe from Newsletters

Hi Experts,
I have a small newsletter system built with Asp.net
What I want to do is send a Unsubscribe option in the Newsletter,and when user clicks on this link automatically change the subscription status to '1' in database (status ='1' indicates that he is removed from the sending list).
How can I do this?
Avatar of MatthiasVance
MatthiasVance
Flag of Netherlands image

Do you know how to connect to the database? If so, it'd be as easy as performing an UPDATE.

Kind regards,

Matthias Vance
Avatar of Johny Bravo
Johny Bravo

ASKER

Ya that's fine.But what I want to know is which user is clicked the 'Unsubscribe' link.

ASKER CERTIFIED SOLUTION
Avatar of MatthiasVance
MatthiasVance
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You mean attaching an E-mail id as a parameter?
then reading the querystring and then updating database depending on that value.
Is there any other way to do?
Yes, that's the only way you can track links.

Regards,

Matthias
Ok thanks Matthias.I jjust want to hide/change  that url,I don't want users to see the url,as it contains the email id of their,how to do?
Well they can always view the URL if they want to, so there's no way of really hiding it.
Can I change it to something random so they don't understand it.
Yes you may!