What can we do when emailing invoices fails due to SMTP client timeout in D365FO

Getting SMTP client timeout may cross your plans of having your invoices successfully emailed in batch, resulting in some unsent emails. Even worse, we can’t easily detect why and where the timeout occurred nor can we increase the default value of the SMTP client timeout without coding. Luckily, there are two ways of dealing with this issue in Dynamics 365 for Finance and Operations enabled by Docentric Free Edition, a D365FO Add-On completely free of charge. Using Docentric you can:

  • Set up the timeout for SMTP client. For example, you can increase the default value to 60s.
  • Use the Email processing functionality, i.e. save created emails with printed reports to the built-in Email sending status tables, otherwise used for outgoing emails for workflows and retail notifications.

This article describes how to set up SMTP client timeout while in the next one, you can learn how to save outgoing emails with printed reports to Email sending status instead of emailing them synchronously, and what are the benefits of this approach.

Change the SMTP client timeout

The SMTP client timeout setting doesn’t exist in built-in Email parameters but you can find it in Docentric AX workspace > Docentric AX Parameters > Emailing > SMTP client settings tab. Of course, you need to install Docentric Free Edition first.

Download Docentric Free Edition >>

The SMTP client timeout setting applies to all outgoing emails in D365FO, including those with printed reports and those generated during a workflow execution.

See also

Monitor and resend outgoing emails with printed invoices in D365FO >>
Log errors of Email distributor batch in D365FO >>
Troubleshooting techniques for solving emailing issues in D365FO >>

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Docentric respects your privacy. Learn how your comment data is processed >>

Docentric respects your privacy. Learn how your comment data is processed >>