Solved

Unsubscribe from Newsletters

Posted on 2009-05-11
9
327 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

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…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

777 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