Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)
Answered

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

(0) ShareShare
ReportReport
Posted on by 3,815

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

  • fatihgork Profile Picture
    fatihgork 3,815 on at
    RE: E-mail send batch job fails but without batch it works fine

    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!

  • Verified answer
    Jonathan  Halland Profile Picture
    Jonathan Halland 11,304 on at
    RE: E-mail send batch job fails but without batch it works fine

    Hi.

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

  • Verified answer
    nunomaia Profile Picture
    nunomaia 10,684 Super User 2024 Season 1 on at
    RE: E-mail send batch job fails but without batch it works fine

    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.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans