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

Question

Question

LFF2007-EmailSubmissionFailure1

asked on September 15, 2017

The last couple of days, one of our clients are having issues with their form. 

An Instance was rejected at the first approval, but the email to the initiator is failing. I don’t see anything obvious in the error that explains the problem. His email address looks good, and lots of other folks have gotten rejections. Here’s the error:
 
Error 9/12/2017 11:24:11 AM
Unable to send an email. Please contact your system administrator. SMTPServer: blah blah, Port: 25, Recipients: someone@something.net, Cc: , Bcc: , Sender: someone@something.net, Subject: Your Travel Request was Rejected, Body: Rejection Reason:&nbsp;Conference has moved to San Antonio.<div>Rejection User:&nbsp;someone@something.net,&nbsp;someone@something.net<br><p></p><div><br></div><div>If you have questions please contact the Finance Department.</div></div>. (Tracking info: business process name: FIN-Travel Authorization Form, step name: Email Initiator - Rejected, main instance ID: 653, worker instance ID: 3632) [LFF2007-EmailSubmissionFailure1]
 
Details:
URL:
Error: EmailSubmissionFailure1
Date: 9/12/2017 11:24:11 AM (Central Standard Time)
HTTP Status Code: 400
Business Process ID: 2
Instance ID: 653
Business Process Name: FIN-Travel Authorization Form
 
Stack Trace:
Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException
Message: Unable to send an email. Please contact your system administrator. SMTPServer: Blah blah, Port: 25, Recipients: someone@something.net, Cc: , Bcc: , Sender: someone@something.net, Subject: Your Travel Request was Rejected, Body: Rejection Reason:&nbsp;Conference has moved to San Antonio.<div>Rejection User:&nbsp;someone@something.net,&nbsp;someone@something.net<br><p></p><div><br></div><div>If you have questions please contact the Finance Department.</div></div>. (Tracking info: business process name: FIN-Travel Authorization Form, step name: Email Initiator - Rejected, main instance ID: 653, worker instance ID: 3632) [LFF2007-EmailSubmissionFailure1]
   at Laserfiche.Forms.CommonUtils.EmailDeliverFactory.DeliverEmailSync(IEntityContext context, EmailMessage em)
   at Laserfiche.Forms.Routing.EmailService.Execute(Int32 instanceId, IRoutingContext routingContext, RoutingInstanceStatus OriginalStatus)
   at Laserfiche.Forms.Routing.ServiceTask.Execute(Int32 instanceId, IRoutingContext routingContext)
 
Inner exception: System.Net.Mail.SmtpException
Message: Failure sending mail.
   at WebCommonCtrls.EmailDeliver.DeliverEmail(EmailMessage em, Int32 retryCnt)
   at Laserfiche.Forms.CommonUtils.EmailDeliverFactory.DeliverEmailSync(IEntityContext context, EmailMessage em)
 
Inner exception: System.IO.IOException
Message: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
   at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mime.EightBitStream.Write(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Mime.BaseWriter.Flush(MultiAsyncResult multiResult)
   at System.Net.Mime.MimeWriter.Close()
   at System.Net.Mime.MimeMultiPart.Send(BaseWriter writer, Boolean allowUnicode)
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
 
Inner exception: System.Net.Sockets.SocketException
Message: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)

0 0

Answer

SELECTED ANSWER
replied on September 19, 2017

A support case had been opened for this issue. The customer was able to see that their SMTP server was rejecting the request to send the email because an attachment was being included that exceeded the maximum attachment size limit configured on the server. After increasing that size limit, the emails were then being sent successfully.

2 0
replied on May 9, 2023

Hi Alex,

 

Where can we update this setting in Forms to allow larger attachment size?

0 0
replied on May 9, 2023

In /FormsConfig on the Forms Server tab, scroll to the bottom and you will see the 'Maximum file size' setting. This setting will control the maximum file size system wide. On each upload field there is also a setting for the Maximum file size.

The issue Alex mentions above though is not a setting within Laserfiche, but an issue with the email server that Laserfiche connected to in order to send the email.

1 0

Replies

replied on September 17, 2017 Show version history

Hi Jonathan,

Depending on the inner exception "Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host", it seems that their email server refuses to send email from Forms server.

Can you ask them to check with their IT staff if there is any change on email server or security policy?

2 0
replied on September 18, 2017

Okay, I will ask them and see. Thanks!

1 0
replied on October 13, 2020

Did you find a solution to this ?

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

Sign in to reply to this post.