订阅/取消订阅链接的代码 [英] code for subscribe/unsubscribe link

查看:108
本文介绍了订阅/取消订阅链接的代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..


我想要订阅代码.订阅后,当用户喜欢取消订阅后,应该将电子邮件发送给用户,他不应再收到任何邮件.如何识别退订人的MailID?


在此先感谢...

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...

推荐答案

我要订阅的代码
它在这里不能这样工作.

这是询问者的期望:
1. 先尝试您要做什么!您可能会发现它并不难.
2.制定看起来像问题/无法解决的问题.

尝试一下,告诉您是否遇到问题.


订阅后,当用户赞不喜欢取消订阅后,应该将电子邮件发送给用户,他不应再收到任何邮件.
步骤:
1.在数据库中有一个表,该表具有以下字段:名称,EmailID,IsSubscribed(位字段)
2.用户订阅后,用他/她的数据填写数据.商店名称,具有isSubstribed布尔值的true的emailid
3.现在,每当有人取消订阅时,对于该用户/电子邮件,将布尔字段isSubscribed设置为false.

试试吧!


如何识别退订人的MailID?
您需要做的就是选择布尔标志isSubscribed设置为true的那些人的emailid.一旦拥有它们,他们就会成为接收电子邮件的人.
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.


这篇关于订阅/取消订阅链接的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆