Using graph api to send email | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Ritesh_Mittal

Hi @cqbeginner ,

 

Yes, that is possible. There are REST based APIs available which you can trigger from OSGI service.

 

https://docs.microsoft.com/en-us/graph/api/resources/mail-api-overview?view=graph-rest-1.0

2 replies

Prince_Shivhare
Community Advisor
Community Advisor
May 19, 2021

Hey @cqbeginner 

Can you please confirm why you don't want to use the day cq mail service?

I wanted to understand the use case for using outlook api.

Thanks,

Prince

May 19, 2021
Hi Prince,
Ritesh_Mittal
Community Advisor and Adobe Champion
Ritesh_MittalCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
May 19, 2021

Hi @cqbeginner ,

 

Yes, that is possible. There are REST based APIs available which you can trigger from OSGI service.

 

https://docs.microsoft.com/en-us/graph/api/resources/mail-api-overview?view=graph-rest-1.0

November 18, 2024

"Yes, that is possible. There are REST based APIs available which you can trigger from OSGI service.", Where does this start. I am asking the same question. I want to configure it so anytime AEM wants to send an "email" it calls my service (graph.microsoft.com) rather then default mail service in AEM.