Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Unanswered

Not receiving email alerts when batch job ends with error

Posted on by 369

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

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,773 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,513 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans