Solved

Unsubscribe from Newsletters

Posted on 2009-05-11
9
326 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
  • 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 500 total points
ID: 24352721
You can do that by customizing each Unsubscribe link you send. ie: Add a url parameter to it.
0
 
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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now