?
Solved

Unsubscribe from Newsletters

Posted on 2009-05-11
9
Medium Priority
?
331 Views
Last Modified: 2013-12-17
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?
0
Comment
Question by:johny_bravo1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 8

Expert Comment

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

Kind regards,

Matthias Vance
0
 
LVL 8

Author Comment

by:johny_bravo1
ID: 24352600
Ya that's fine.But what I want to know is which user is clicked the 'Unsubscribe' link.

0
 
LVL 8

Accepted Solution

by:
MatthiasVance earned 2000 total points
ID: 24352721
You can do that by customizing each Unsubscribe link you send. ie: Add a url parameter to it.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 8

Author Comment

by:johny_bravo1
ID: 24352741
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?
0
 
LVL 8

Expert Comment

by:MatthiasVance
ID: 24352760
Yes, that's the only way you can track links.

Regards,

Matthias
0
 
LVL 8

Author Comment

by:johny_bravo1
ID: 24352787
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?
0
 
LVL 8

Expert Comment

by:MatthiasVance
ID: 24352808
Well they can always view the URL if they want to, so there's no way of really hiding it.
0
 
LVL 8

Author Comment

by:johny_bravo1
ID: 24352825
Can I change it to something random so they don't understand it.
0
 
LVL 8

Expert Comment

by:MatthiasVance
ID: 24352847
Yes you may!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question