You are viewing limited content. For full access, please sign in.

Question

Question

Tasks are getting suspended (Inner exception: System.Net.Mail.SmtpException)

asked on March 3, 2022 Show version history

Hello Everyone, 

Tasks are getting suspended (error mentioned below). We have observed that it is happening when there are mails in bulk at a time. 

Is it because of O365 mail service for email notifications used by Laserfiche Forms and Workflow?? 

Are there any concurrency limits of mails ? 

Please help us with the same as we currently have to disable the mail notification as interim solution. 

 

ERROR:

Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException
Message: Unable to send an email. Please contact your system administrator. SMTPServer: smtp.office365.com, ................

...............

Inner exception: System.Net.Mail.SmtpException
Message: The operation has timed out.
at WebCommonCtrls.EmailDeliver._DeliverEmail(MailMessage emailMessage, SmtpClient smtpClient, EmailMessage em, Int32 retryCnt)
at WebCommonCtrls.EmailDeliver.DeliverEmail(EmailMessage em, Int32 retryCnt)
at Laserfiche.Forms.CommonUtils.EmailDeliverFactory.DeliverEmailSync(IEntityContext context, EmailMessage em)

0 0

Replies

replied on March 4, 2022

Office365 SMTP server has throttle limit for concurrent connections:

  1. up to three concurrent connections are allowed to send email messages at the same time.
  2. 30 messages per minute
  3. Recipient rate limit of 10,000 recipients per day

 see https://docs.microsoft.com/en-us/exchange/troubleshoot/send-emails/smtp-submission-improvements for more informaiton.

What version of Forms are you using?

You need to restart Laserfiche Forms Routing Service from Windows service after you run into the operation timeout error then you can continue to send email with Office 365. We have enhanced it in Forms 11 to to to sending email with Office365 with lower rate so you will not run into the error.

 

1 0
replied on March 4, 2022 Show version history

Hi Xiuhong,

Laserfiche Form version is Professional version 10.4.5.324

 

Concurrent sessions at this point is already 25+ at any given point and most of the activities have email notifications.

 

Earlier we used to resolve this by restarting Laserfiche Forms Routing Service. But now even its not working. 

 

Can we resolve this issue by upgrading form version?? Please suggest a permanent solution for this.

 

 

0 0
replied on March 6, 2022

Please update to use the latest Forms 11, it should address the issue. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.