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: Conference has moved to San Antonio.<div>Rejection User: someone@something.net, 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: Conference has moved to San Antonio.<div>Rejection User: someone@something.net, 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)