More in this section

Forums / General Discussions / Newsletter Suppression Lists

Newsletter Suppression Lists

2 posts, 0 answered
  1. terrysmith
    terrysmith avatar
    11 posts
    15 Nov 2006
    12 Oct 2009
    Link to this post
    Does the newsletter module support suppression lists? I've looked for it but don't see it. How hard would this be to implement? Can you add this in an upcoming release?

    My issue is that I want to import subscribers from an industry email list. If some of those people opt-out and then later I re-import an updated list then how can I ensure the opt-out subscribers don't get re-included and emailed again?

    Similarly, if I had newsletters for different categories and someone opted-out, then I don't want to include them in campaigns from other categories either.

    Thank you,

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    14 Oct 2009
    Link to this post
    Hi terrysmith,

    We support opt-out mechanism. You can include a "unsubscribe link" in the content of your email through backend UI. When a user receive this e mail there will be unsubscribe link which points to the website where the user should confirm that she/he wants to unsubscribe herself/himself from the list. Then the user is deleted from the subscribers group, so it will not receive any email.

    You can add SuppressionList - with all unsubscribed users for a statistic purposes. You can modify ~/Sitefinity/ControlTemplates/Newsletters/ConfirmUnsubscription.aspx.cs as shown below.

    protected void unsubscribebtn_Click ( object sender, EventArgs e )
           CryptographyHandler EncryptionHandler = new CryptographyHandler();
           string subscriberEmail = EncryptionHandler.DecryptText(HttpContext.Current.Server.UrlDecode(Request.QueryString["Email"]), CryptographyHandler.CryptographyAlgorithm.Encoding64String);       
           DataManager dataManager = new DataManager ( );
           IList gSubs = dataManager.GetSubscriberGroupsOfSubscriber ( subscriberEmail );
           foreach ( IGroupSubscriber gSub in gSubs )
               dataManager.DeleteGroupSubscriberRelation ( gSub );
           ISubscriber subscriber = dataManager.GetSubscriber ( subscriberEmail );
           if ( subscriber != null )
              Guid suppressionListID = new Guid("89B46498-9160-4199-B584-B434387F37ED");
              IGroupSubscriber GSubscriber = dataManager.CreateGroupSubscriberRelation(suppressionListID, subscriber.SubscriberId);
              Response.Redirect ( "Unsubscribed.aspx" );

    Let us know if there is anything else that we can do for you.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered