Email Notifications for Scheduled Tasks in Java

June 5, 2013

This is a quick note that explains how to set up your java scheduler to send email notifications on the created/modified/deleted events. Make updates to your calendar right now.
Simply add the following method and call it in EventsManager.saveEvent before the last instruction in your JavaPlanner web project:

Download free DHTMLX JavaPlanner right now.


get free

If you have any questions, you can put them below in the comments box.

Comments (4)

  • Brighton Salvatory,

    hi! sorry i tried to input the email notification but it seems that the code doesn’t respond plz i need ur help

    Reply
    1. Dmitry,

      Hi,
      could you provide more details? What does it mean that code doesn’t respond? Have you tried to debug? Does it throw any exception?

      Reply
  • Brighton Salvatory,

    Hi!

    sorry below is what i did its my email notification

    what i want to do is to connect that email notification to booking page, i mean to send information 2 the person who booked. plz help me

    Reply
    1. Dmitry,

      Hi,
      you should add method mail(String to, String subject, String body) into class EventsManager.
      You should call this method in method saveEvent of EventsManager which provides saving event.

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

+ 7 = thirteen

You may use these HTML tags and attributes:
<b></b> <i></i> <strike></strike> <a href=""></a>