Outlook API's to send email
- Take the get endpoint from "Hit this in browser"
- It will ask you to login.
- Once we login, it will redirect to a localhost url.
- Copy the value after code in the URL.
- Use that value in "Get Access and Refresh Token Uisng 'CODE'" tab to get access and refres token.
- Use that access token in. "Send email using Access token" to send emails.
- When ever the access token is expired use "Get Access Token from Refersh token" with Refresh toekn from step 5.
Note:
- Access token will expire after some time.
- Refresh token expires when more than X refresh token were generated, the oldest one expires.