Email functions not working with office365 exchange accounts 9.4
It looks like there might be a bug with the email functions. Pretty sure I've narrowed it down to the email from. If you use office365 as your email provider, you don't have the option to allow other accounts to email on your behalf (it's also disabled by default in on prem Exchange 2019).
When you add the credentials into the configuration settings & hit test, you get a successful message and the email does come through. However, if you then try to broadcast a report or use the forgot password link you get a SendAsDeniedException.MapiExceptionSendAsDenied error.
What's odd is that it appears system generated emails (alerts when transformations fail for example) work fine.
I've created a jsp to send an email using the 365 account to make sure it's something in YF rather than the account and it worked fine (attached but with credentials removed for obvious reasons).
If you need a 365 account to replicate/test with, I can provide one for you.