If you have Multi-Factor Authentication set up, adding the app passwords option is required.
Go to https://portal.azure.com/
Go to the account settings. It should be the same account used in the Custom SMTP server.
Go to Security info
Add method -> App password
5. Copy the app password and use it as a password during the Mail Me Custom SMTP Server setup.