Questions tagged [unsubscribe]

215 questions
8
votes
2 answers

how to generate unsubscribe link for newsletter?

I want to write a newsletter with php. but i have a question: how can i generate a code for unsubscribe. In fact i want a unique code for each subscriber. for example in 'http://net.tutsplus.com/' you can see something like…
Fatemeh Gharri
  • 369
  • 2
  • 6
  • 20
7
votes
4 answers

Angular Observable destroy with takeUntil: What happens when .next() is missing in ngOnDestroy

In an Angular 7 Component, I use the RxJS takeUntil() to properly unsubscribe on observable subscriptions. What happens when the this.destroy$.next() is missing in the method ngOnDestroy (see sample below)? Will it still unsubscribe properly? What…
Horace P. Greeley
  • 882
  • 1
  • 10
  • 18
7
votes
8 answers

Why not use email address in unsubscribe link

Give me few reasons why NOT to include email addresses in plain text form for unsubscribe link that gets sent out in our newsletters. Right now it's: xyz.net/unsubscrible?uid=123&email=user@domamin.com I am pushing for:…
xoail
  • 2,978
  • 5
  • 36
  • 70
6
votes
1 answer

Method containing a Subscribe is called multiple times, should I unsubscribe old subscriptions each time?

I'm building an Angular app with subscriptions. The component is a chat message page where there's a menu of all your chat messages to others and you can click on each person to view the chat messages with that person. Here's one of my functions…
cssun25
  • 381
  • 1
  • 5
  • 13
6
votes
3 answers

Mailgun - Modify and/or wrap unsubscribe page

I'm using the Mailgun unsubscribe handling. I'd like to be able modify the mailgun generated "Unsubscribe" and "You have unsubscribed" pages. If there is no way to modify these pages, is there a way to wrap them with header / footer to add some…
nterry
  • 61
  • 3
5
votes
3 answers

How to unsubscribe an anonymous function in Dispose method of a class?

I have a Class A...in it's constructor...I am assigning an anonymous function to Object_B's eventHandler. How do I remove (unsubscribe) that from Dispose method of class A ? Any help would be appreciated ! Thanks Public Class A { public A() { …
Relativity
  • 6,690
  • 22
  • 78
  • 128
5
votes
1 answer

Preventing unsubscribes in forwarded emails

I am sending bulk html emails, and have the proper "unsubscribe" option at the bottom. If someone forwards such an email, I would like to omit that unsubscribe notice. This is acceptable for two reasons: (1) the forwarded email is no longer a bulk…
Jeffrey Simon
  • 918
  • 3
  • 11
  • 25
5
votes
1 answer

Pubnub - unsubscribe all active users from a specific channel

Does anyone know if there's a Pubnub function to unsubscribe all the users from a channel at once? And I mean without manipulating the regular function pubnub.unsubscribe({ channel: 'my_channel', callback: function() { /* something */ } }); I…
Shaya
  • 2,792
  • 3
  • 26
  • 35
5
votes
2 answers

How can I unsubscribe http handler?

I want to create http handler to handle one session: func init(){ http.HandleFunc("/sess/215489598", func(w http.ResponseWriter, r *http.Request) { //do something }) } and then remove it when session ends(expires). How can I do…
alpav
  • 2,972
  • 3
  • 37
  • 47
5
votes
1 answer

SDL Tridion EventSubscription UnSubscribe Issue

We are trying to Unsubscribe from the eventSubscripton in our Eventing Code. We are using the following code [TcmExtension("EventHandlerExtension")] public class EventHandler : TcmExtension, IDisposable { private EventSubscription…
Paras
  • 51
  • 3
4
votes
2 answers

Unsubscribing from Observables inside services?

When looking at code examples, I often see the case where observables inside services are not unsubscribed from. Here is an example: export class AuthGuard implements CanActivate { private isLoggedIn: boolean; private isLoggedIn$:…
Michael
  • 799
  • 1
  • 7
  • 16
4
votes
1 answer

Unsubscribe from an event of a generic class whose type parameter is specified within a generic method

How do I unsubscribe from an event of a generic class whose type parameter is specified within a generic method as follows? public class ListLayoutControl : Control { NotifyCollectionChangedEventHandler handler = null; public void…
Ozgur Ozcitak
  • 10,409
  • 8
  • 46
  • 56
4
votes
1 answer

How to unsubscribe an app from a page for facebook webhook lead ad?

I have the following function (taken from the facebook webhook tutorial) for subscribing an app to a page, but I want the reverse thing to happen ( unsubscribe). How can I do that? I have not found any answers yet, in JavaScript. function…
Alex Besleaga
  • 61
  • 1
  • 5
4
votes
1 answer

wpf attached property: where to unsubscribe from event handling?

I have a dependency property (bool) which enables a behavior in a textbox. The property changed callback subscribes to some eventhandlers: static void MyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { if (d is…
deafjeff
  • 754
  • 7
  • 25
3
votes
3 answers

Observable unsubscribe inside subscribe method

I have tried to unsubscribe within the subscribe method. It seems like it works, I haven't found an example on the internet that you can do it this way. I know that there are many other possibilities to unsubscribe the method or to limit it with…
Yusuf Azal
  • 218
  • 1
  • 14
1
2
3
14 15