web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)
Answered

E-mail send batch job fails but without batch it works fine

(0) ShareShare
ReportReport
Posted on by 3,817

Hello all,

There is an issue about e-mail send batch job I have been facing lately. I have a seperate AOS for  batch jobs and I have many batch jobs active there. I have no problem with any of them but the one that executes e-mail sending.

 

When I set up a batch for it, it fails until it completes the retry schedule, then fails completely. But when I run the job without setting it up as batch, it works just fine. So I don't think that this is a permission or AOS issue. I tried it on the same AOS with the same user for both cases.

 

Probably there is a difference between running the job with and without batch. Does anyone knows what is it?

Environment: Ax 2012 R2 CU7 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    nunomaia Profile Picture
    25 Moderator on at

    I don’t if it’s the case, but in the past I had a similar issue.

    Some customers due to security reason, have a white list of allowed IP address that can send e-mails. If the batch server isn’t in the allowed range, you can’t send e-mails from that particular AOS Server.

  • Verified answer
    Jonathan  Halland Profile Picture
    11,310 on at

    Hi.

    Are the individual emails failing to send (email processing queue) or is the batch job itself failing and going into an error state?

  • fatihgork Profile Picture
    3,817 on at

    Hello,

    The user I said that could send e-mails was running AX on client.

    Since batch runs on server, we thought this was the issue and the E-mail server was not in the same domain where AX runs.

    So, we created a virtual smtp server and solved that issue.

    Thanks everyone!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Sagar Suman Profile Picture

Sagar Suman 2 Super User 2026 Season 1

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans