'Send registration emails from Azure App Service

I have a MEAN Stack application hosted in Azure which targets users from different organizations. The Node API app is hosted as an App Service. When a user registers, I have to send a verification email to their email-id from a common email-id (like [email protected]). I have an Office 365 Business custom email account for this purpose. I googled a lot about this but most of the Microsoft documents are talking about using logged in user's credential to access Graph API ("me/sendMail"). I want to implement the email feature independent of logged in user. Please suggest a good design. Sample code will help me save time.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source