Hello All,
Our customer was using Microsoft outlook smtp server in Laserfiche Forms in order to send email notifications to the corresponding users within the form.
Apparently, lately his Laserfiche Server is not able to send any emails and when trying to check the FormsConfig email settings tab and testing, it is stating that there is an error LFF2000 - EmailSubmissionFailure.
After troubleshooting, the IT said that when the router is restarted, some emails are being sent then its fails again. Their ISP is blocking port 25 to prevent spam emails.
Any suggestion as to how to workaround this matter.
Your help will be appreciated!
Error Details:
Unable to send an email. Please contact your system administrator. SMTPServer: smtp.office365.com, Port: 587, Recipients: redacted@redacted, Cc: , Bcc: , Sender: laserfiche@redacted, Subject: sfsdfsdf, Body: sdfsfsdfsdf<p></p><div>sfsdfsd</div><div>sdfsdfsdf</div>. (Tracking info: business process name: Test Mail Process, step name: Service Task, main instance ID: 343, worker instance ID: 3028) [LFF2007-EmailSubmissionFailure1]
Details:
URL:
Error: EmailSubmissionFailure1
Date: 11/24/2021 10:23:17 AM (Arab Standard Time)
HTTP Status Code: 400
Business Process ID: 19
Instance ID: 343
Business Process Name: Test Mail Process
Stack Trace:
Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException
Message: Unable to send an email. Please contact your system administrator. SMTPServer: smtp.office365.com, Port: 587, Recipients: redacted@redacted, Cc: , Bcc: , Sender: redacted@redacted, Subject: sfsdfsdf, Body: sdfsfsdfsdf<p></p><div>sfsdfsd</div><div>sdfsdfsdf</div>. (Tracking info: business process name: Test Mail Process, step name: Service Task, main instance ID: 343, worker instance ID: 3028) [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 read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.DelegatedStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.BufferedReadStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine)
at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
at System.Net.Mail.SmtpClient.GetConnection()
at System.Net.Mail.SmtpClient.Send(MailMessage message)
Inner exception: System.Net.Sockets.SocketException
Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)