Home > Software design >  How to add event to outlook calendar from Spring Boot?
How to add event to outlook calendar from Spring Boot?

Time:10-15

Does any of you know any way to add an event to outlook calendar from JAVA? I need this for a feature I have to implement, which requires email notification of user 15 min and 5 min before the event ?

If you know a way to do this, It would be a big help.

Thanks in advance.

P.S I can do this with @Schedule() but I would like to avoid running the method every minute. *

CodePudding user response:

Without knowing your requirements, you should use the Outlook API, it has requests to create notifications in the calendar and send an email to the address you choose.

Office API

So with this, you only have to make a REST request to the endpoint in question and you should already have what you want, in the documentation that I have attached it appears how to take the tokens and others to authorize those requests to

  • Related