Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi..


i want code for subscribe. when subscribed Emails Should be sent to user after when he cliked on unsubscribe he should not recieve any mails further. how to identify the MailID of unsubscribed person?


Thanks in advance...
Posted

1 solution

i want code for subscribe
It does not work like this here.

Here is what is expected of enquirers:
1. TRY first what you want to do! You may find that it's not that hard.
2. Formulate what was done by you that looks like an issue/not working.

Try them and tell if you face issues.


when subscribed Emails Should be sent to user after when he cliked on unsubscribe he should not recieve any mails further.
Steps:
1. Have a table in database that has fields like: Name, EmailID, IsSubscribed (bit field)
2. Once user has subscribed, fill the datable with his/her data. Store name, emailid with isSubstribed boolean to true
3. Now, whenever someone un-subscribe set the boolean field isSubscribed to false for that user/emaild.

Try!


how to identify the MailID of unsubscribed person?
All you need to do is pick the emailid's of those person whose boolean flag isSubscribed is set to true. Once you have them, they are the one who will get emails.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900