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.
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!
Please "Marks As Answer" if any answer helped you out!
~~! FIREWALL !~~
beejay-69
Member
16 Points
25 Posts
Unsubscribe mail
Feb 01, 2013 08:35 PM|LINK
Hi,
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.
Thanks
Afzaal.Ahmad...
Contributor
2660 Points
1039 Posts
Re: Unsubscribe 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!
~~! FIREWALL !~~