Improve company productivity with a Business Account.Sign Up

x
?
Solved

Unsubscribe from Newsletters

Posted on 2009-05-11
9
Medium Priority
?
335 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 Bravo
  • 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 Bravo
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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 8

Author Comment

by:Johny Bravo
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 Bravo
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 Bravo
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
There is a wide range of advantages associated with the use of ASP.NET. This is why this programming framework is used to create excellent enterprise-class websites, technologies, and web applications.
Watch the video to learn how one can deal with PST file corruption issue with an outstanding Kernel for Outlook PST Repair Tool easily. Using this tool, non-technical users can swiftly perform the repair process to restore their essential data witho…
Watch the video of Kernel Migrator for SharePoint, which demonstrate the process easily of migration from SharePoint to SharePoint, OneDrive for Business & Google Drive servers, Public Folder to SharePoint, File Server to SharePoint. The tool has va…

595 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