
Hi,
I have configured a batch job to sending an alert when it finishes with error.
The alert trows ang gets the relay who sends to Exchange Online but this refuses the email
The SMTP relay is very clear, it shows a 554+5.2.252+SendAsDenied message.
The problem is because the batch job is not using any template and sends the email as the owner of the bacth job.
I know the workaround is configure in the account to allow sending as other user, but my question is why this kind of emails don't use a template? Or I'm missing something because it doesn't does
Will be easy just configure an alias instead giving send as or send on behalf permissions
Any other idea? I think my setup is right because we are receiving workflow emails and change based alerts. The only one that does not work properly are emails from batch jobs
Thanks