General practice is. you must have a specific email account setup for your app. like noreply or support or something.
Then configure your Email settings with proper email, password and other configurations.
With Mendix security and roles, you will be able to restricts others to see the email configuration if needed.
Then use the configured settings to send email.
Martin,
That depends what you want your app to do. We have apps where the company uses Office365 and wants emails sent from the app to be from the person logged in to the app. In this case, you can’t use a single set of credentials, but will need to store credentials (of some type, more on that later) for each Mendix user that will need to send email.
For testing purposes only, you could store Office365 Username and Password on the Mendix entity where user account information is stored. However, this is a security no-no, so you should not move into production this way. Your options are to implement OAuth integration between your Mendix App and Office 365 or use Microsoft Graph integration. Graph Integration is the most up to date way to do this. In this case, you will send emails using the Graph API, so its a bit more work than using the Email Templates module.
If you don’t need to have emails come from specifc people, you can use a single address as Nirmalkumar described.
Hope that information is helpful,
Mike