We have an on-premises (self-hosted) app which supports sending email notifications to users by providing SMTP mail server settings. Our users are all in Azure AD and are the only users of this on-premises app. Our users want to be able to receive email notifications from this app.
What is the recommended/best practice method for achieving this? Ideally the solution wouldn't require any additional subscriptions or added cost. It would be nice if the sending email address could be branded to match the app service it is coming from.
Here are some options that I've come up with:
- Create a new user in Azure AD solely for sending email
- Seems wasteful, and we are billed monthly per user
- Use an existing user (i.e. my own) to provide authorization to the SMTP server
- Rather not tie my own user credentials to this, and will break if I ever change my password
- Use an entirely different email account (e.g. gmail?) for sending email
- No relation to Azure AD tenant at all, harder for others to manage
- Some existing method/service in Azure that is meant for this purpose, if it exists