More in this section

Forums / Developing with Sitefinity / How do I send an email in SF4 (for blog post/comment notification)

How do I send an email in SF4 (for blog post/comment notification)

2 posts, 0 answered
  1. Nathan
    Nathan avatar
    1 posts
    Registered:
    17 Feb 2011
    07 Nov 2011
    Link to this post
    I need to wire up email notification upon blog posts publication and comment submissions so that I can notify my readers who have subscribed for such a service.

    I am relatively new to SF and need directions on what I need to modify to get this to work.
  2. Svetoslav Petsov
    Svetoslav Petsov avatar
    456 posts
    Registered:
    24 Sep 2012
    10 Nov 2011
    Link to this post
    Hello Nathan,

     What you need to do in order to implement that functionality is to create two Lifecycle decorators (for BlogPosts and Comments) that would wire to the publish event and send emails to users. There is a KB that describes very well how to do that:
    http://www.sitefinity.com/devnet/kb/sitefinity-4-x/overwriting-the-default-lifecycledecorator-for-a-content-manager.aspx
    Please read the KB, check the sample and if you have any questions on it or if you have any difficulties during implementation, feel free to get back to me.

    Regards,
    Svetoslav Petsov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered