Questions tagged [unsubscribe]

190 questions
7
votes
2 answers

Resubscribe a user to a MailChimp list after unsubscribe

My site allows users to subscribe to MailChimp lists using the API via Drupal MailChimp module. But if a user unsubscribes by following the link in the email, and subsequently decides to re-subscribe by visiting my website and checking the…
7
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
  • 283
  • 1
  • 5
  • 16
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,210
  • 20
  • 74
  • 121
5
votes
2 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
  • 51
  • 3
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…
DotBot
  • 2,380
  • 2
  • 23
  • 32
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
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…
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
  • 779
  • 3
  • 14
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
  • 9,719
  • 7
  • 41
  • 56
4
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
  • 702
  • 2
  • 9
  • 19
3
votes
3 answers

rxjs - stop observable with a subject subscription

I created an Observable generating potentially infinite amount of data (e.g. a timer). This data is accessed through a subject, so multiple observers would receive the same values. How to stop the Observable generating new values? (without modifying…
nagy.zsolt.hun
  • 4,740
  • 7
  • 41
  • 73
3
votes
1 answer

Angular2 : Should Host listeners be unsubscibed? How does Host Listner work? If I do not have to unsubscribe, When does it get unsubscribed?

@HostListener('window:scroll', ['$event']) onScroll(event) { // Do something } I have been listening to scroll events in many components. And I am not unsubscribing. Does it cause a problem.
Shilpa J
  • 41
  • 6
3
votes
0 answers

RxJS switchMap does not cancel inner merged observable

The inner merged observable isn't terminating with this code (rxjs 5.5.6): let source = new Subject(); // when the source emits a vector of strings, output // each string with a 1s delay source.switchMap(v =>…
kayjtea
  • 2,455
  • 16
  • 16
3
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
  • 51
  • 1
  • 5
3
votes
2 answers

Sparkpost unsubscribe and webhook

I have a problem with unsubscribe link in newsletter and can't figure out what I'm doing wrong. The link in the newsletter is Unsubscribe". I have…
praxus
  • 428
  • 6
  • 17
1
2
3
12 13