Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 02, 2013 08:45 AM by Afzaal.Ahmad.Zeeshan
Feb 01, 2013 08:35 PM|LINK
I have a program that sends html mails as my company mail newsletter.
I want to give one click unsubscribe link opens unsubscribe.aspx but I need to pass the parameter id or mail parameter to unsubscribe.
This parameter is inside html mail.
Feb 02, 2013 08:45 AM|LINK
I believe that you have a database on which you have table that has the IDs of people subscribed to that newsletter.
Now you should just make a column. That would be bit datatype (Bits are the booleans) So you should first use it as true or false.
If he is subscribed you should change the col value to 1 that is true. Than send email. If he unsubscribes than update the row and change that value to 0 that would be false. Than you don't need to change any thing else. You will not get any feedback saying
that user is still getting newsletter!