Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Job Queue Error "The SMTP mail system returned the following error: ""The operation has timed out.""

(0) ShareShare
ReportReport
Posted on by 80

I have a codeunit with sends email to my customer for their due balance.

I have customized a report which i use to send as PDF.

There are 100 or more customers who have due balance.

I get a error message in job queue log entry "The SMTP mail system returned the following error: ""The operation has timed out.""." after some email are send via job queue.

I have created a separate service as NASServices and configured it with startup codeunit 450 & specific company name.

I also have a separate production service for my users who use dynamics nav regularly and in that service i have set up idletime out as 20 Minutes.

I am unable to understand the issue.

We are using Dynamics NAV 2013 R2, build 36310

*This post is locked for comments

  • ManishS Profile Picture
    80 on at
    RE: Job Queue Error "The SMTP mail system returned the following error: ""The operation has timed out.""

    Thanks guys for your response.

    I have asked the client to check with their service provider for bulk emailing.

    Will come back once i have the update.

  • RockwithNav Profile Picture
    7,088 on at
    RE: Job Queue Error "The SMTP mail system returned the following error: ""The operation has timed out.""

    Hey Manish,

    The Issue is related with the Firewalls and the Ports. Make sure that your Firewall is not blocking it or else pass your port number to get it free from the Firewalls. You should coordinate once with your tech support team.

    Thanks

    rockwithnav.wordpress.com

  • Suggested answer
    Suresh Kulla Profile Picture
    47,789 on at
    RE: Job Queue Error "The SMTP mail system returned the following error: ""The operation has timed out.""

    Please check SMTP server settings or the email provider we had this issue at one of our client and it is because the server was setup to send few emails in certain period of time for security reasons.  We ended up creating another server externally and use it.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Job Queue Error "The SMTP mail system returned the following error: ""The operation has timed out.""

    Hi Manish,

    Somehow, I always prefer to send such kind of bulk automated mails via Outlook and not via SMTP.

    I always found sending mail via Outlook more simpler, accurate and we can easily track the results.

    Regarding SMTP, you may check with SMTP service provider and explain him such bulk mail sending scenario via NAV. They might have some settings to block the bulk mails at times.

    Hope this helps.

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Community Member Profile Picture

Community Member 108

#2
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 100 Super User 2025 Season 1

#3
manish.yadav Profile Picture

manish.yadav 6

Featured topics

Product updates

Dynamics 365 release plans