Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • trfletch 595 posts 571 karma points
    Mar 02, 2010 @ 12:43
    trfletch
    0

    Creating email alerts that member can subscribe to

    Hi, I have an Umbraco 4 website and I want the enable the subscriber of the website to sign up for daily/weekly email alerts. This may really be two different questions in one post. They are:

    1. How can I make a page that the user can login to that allows them to manage their account (i.e. click a checkbox that says "Subscribe to email alerts")
    2. How can I set something up that sends an email alert daily to people with the checkbox checked, the email would need to contain certain nodetypes that had been updated/created in the past 24hours

    Are there any packages out there that could do this, or is this going to be something completely custom written?

  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    Mar 02, 2010 @ 12:56
    Dirk De Grave
    0

    Hi trfletch,

    Regarding your questions:

    1. you could add this checkbox on your registration page using the standard asp.net create user wizard. Of course, you'll have to save the checkbox info on the member (can be an extra property on the member type) as soon as the member has signed up (there's a couple of events for the create user wizard to subscribe to)

    2. something you'll have to build yourself. If you use the idea from 1., then you could build a scheduled task which will on launch iterate your member base for all members that have subscribed to receive updates and find all nodes that have been published/changed in the last 24 hours. (you could perform a lookup on the database, or query the cached xml content for nodes that have been published/changed in the last x hours.

     

    Hope this helps,

    Regards,

    /Dirk

  • trfletch 595 posts 571 karma points
    Mar 02, 2010 @ 22:59
    trfletch
    0

    Hi Dirk,

    Thanks for the response, what about if the user wanted to change their subscription after they had registered (or later on down the line maybe change their email address etc). How would I go about creating a "My profile" type page where the user can view their account and make changes?

  • jaygreasley 416 posts 403 karma points
    Mar 06, 2010 @ 08:49
    jaygreasley
    0

    I think there is a standard asp.net membership control for managing your account.

    Just drop this into a new (myAccount) template and create a page based on this.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies