Server Triggered Emails

2 posts, 0 answers
  1. Daniel
    Daniel avatar
    9 posts
    Member since:
    Dec 2014

    Posted 18 Jan 2015 Link to this post


    I have a project that allows a user to create a date range (12 months with a startDate & endDate) for some points that they earn. I know currently you do not provide scheduled tasks, but I am trying to find a way server side that can check each users date range and at increments (every 3,6,9 & 12 months) trigger a specific email template based on the increment. I could do it client side as a workaround by checking the months and adding a flag in the type if the email has previously been sent but obviously server side would be a much better solution.

    Any help would be great.

  2. Anton Dobrev
    Anton Dobrev avatar
    608 posts

    Posted 20 Jan 2015 Link to this post

    Hello Daniel,

    Support for scheduled tasks in the cloud code is on our roadmap and is expected to be shipped with some of our next releases. Until then you can register a logic in the Cloud Code for data or Cloud Function that verifies the state of the user range in the given content type. You can call this logic in a CRUD event in the cloud code, from the client app or from an external service.

    Please, let me know if you have questions.

    Anton Dobrev
    Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
Back to Top