More in this section

Forums / Developing with Sitefinity / Getting Data from Newsletter Subscription

Getting Data from Newsletter Subscription

4 posts, 0 answered
  1. Tom
    Tom avatar
    4 posts
    Registered:
    03 Dec 2009
    09 Apr 2010
    Link to this post
    Hello,

    Is there any way to get the e-mail address and name from a successful newsletter subscription on the success or failure page?

    Thanks!

    Tom
  2. Amit Singh
    Amit Singh avatar
    4 posts
    Registered:
    09 Apr 2010
    10 Apr 2010
    Link to this post

    Hi Tom,
     Yes you can get the record for failure  Newsletter Subscription from Database the table name is mentioned below
    "  sf_Notif_FailedEmail " ,FailerMessage

    from table you can get Email,NewsLetterId,Failure Date and etc. Information

    Regards
    Amit K Singh
  3. Tom
    Tom avatar
    4 posts
    Registered:
    03 Dec 2009
    10 Apr 2010
    Link to this post
    Thanks for the reply Amit.

    I'm wanting to display a message to the user if there was a success or failure during the subscription process that has their name on it.  I'm not necessarily wanting all failed subscriptions (which is what is in the fail table), just the user's information they just entered.  Is this information in a post/session variable or anything? 

    I guess I'm wondering if this information is passed to the success/fail page at all.  Thanks for your help.

    Tom
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    11 Apr 2010
    Link to this post
    Hello Tom,

    You have to create a custom control that inherits from Telerik.Notifications.Newsletters.WebControl.SubscriptionForm and there override OnSubscribe method. In this method we create the group - subscriber relation. If  this fails you are redirected to ~/Sitefinity/ControlTemplates/Newsletters/FailureSubscription.aspx.There is a public property  FailureSubscriptionPage which value  you can change directly from the Control UI if necessary.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Register for webinar
4 posts, 0 answered