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

Level 2
May 19, 2021
Hi Prince, there are some limitation in my organization to configure SMTP server directly, But can use APIs to send email. Wondering, if any of our members taken that route.
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

Level 2
May 19, 2021
Thanks Ritesh. Do you know, what do we miss if we dont use OOTB email service?