Email Templates Module with 2 Factor Authentication
I use Email Templates Module to send email from a Mendix app. The users of this app are also Office 365 users, so I have set up the app to use the O365 credentials when email is sent from Mendix through O365 using SMTP. Recently, one of the users turned on 2 factor authentication on his O365 account, so that he needs to enter a code that he receives via SMS when he logs in to O365. As a result, he gets an error message when he tries to send email via his Mendix app. Has anyone else encountered this problem? Any ideas for resolving it?
Works sort of the same as for gmail accounts, you’ll need to create a separate app password, see: