I use to be able to change the from address in the email task in laserfiche forms. Now it's giving me an error when I don't use the email address listed on the config page. We use Office 365 could this be an issue?
Question
Question
Replies
Hi Chynna,
What error are you receiving? Are you receiving the error when you try to save the Business Process or at another time?
No when the process runs it is suspended on that task.
-
Unable to send an email. Please contact your system administrator. SMTPServer: smtp.office365.com, Port: 587, Recipients: creddix@alliancesafetycouncil.org, Cc: , Bcc: , Sender: creddix@alliancesafetycouncil.org, Subject: Test, Body: Test - cHANGED LF<p></p>. (Tracking info: business process name: Who's Who, step name: Service Task, main instance ID: 20478, worker instance ID: 51382) [LFF2007-EmailSubmissionFailure1] Details: URL: Error: EmailSubmissionFailure1 Date: 3/10/2020 11:04:54 AM (Central Standard Time) HTTP Status Code: 400 Business Process ID: 231 Instance ID: 20478 Business Process Name: Who's Who 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: creddix@alliancesafetycouncil.org, Cc: , Bcc: , Sender: creddix@alliancesafetycouncil.org, Subject: Test, Body: Test - cHANGED LF<p></p>. (Tracking info: business process name: Who's Who, step name: Service Task, main instance ID: 20478, worker instance ID: 51382) [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: Transaction failed. The server response was: 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:CF050000, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:FF1F0000, 1.36674:0E000000, 1.61250:00000000, 1.45378:04200000, 1.44866:42020000, 16.55847:30100000, 17.43559:0000000024020000000000000000000000000000, 20.52176:140FE98A0D00000000000000, 20.50032:140FE98A7D1770200A008C81, 0.35180:140FE98A, 255.23226:ED050000, 255.27962:0A000000, 255.27962:0E000000, 255.31418:F2050000, 0.35250:0A000000, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:18000000, 1.36674:32000000, 1.61250:00000000, 1.45378:1D000000, 1.44866:01000000, 16.55847:84000000, 17.43559:00000000B0030000000000000100000000000000, 20.52176:140FE98A0D0010100B060000, 20.50032:140FE98A7D170000F8030000, 0.35180:10060000, 255.23226:0A009481, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:02040000, 4.21921:DC040000, 255.27962... at WebCommonCtrls.EmailDeliver.DeliverEmail(EmailMessage em, Int32 retryCnt) at Laserfiche.Forms.CommonUtils.EmailDeliverFactory.DeliverEmailSync(IEntityContext context, EmailMessage em)
Close
Hi Chynna,
That message means something about your email configuration or networking setup isn't correct.
- Double check that the credentials you're providing for authentication to Office 365 are valid and entered correctly
- Double check that you have "Use SSL" checked. Port 587 is for encrypted SMTP.
- Run the following PowerShell command from the Forms server to verify outbound network connectivity to smtp.office365.com on port 587:
New-Object System.Net.Sockets.Tcpclient 'smtp.office365.com', 587
If successful, you'll get a result like this:
If unsuccessful, you'll get some "connection failed" red error text instead. If that's the case, you'll need to open outbound firewall rules for port 587 (or work with your IT to do so).
Hope that helps.
-Sam
@████████ Ok...My IT team finally tried this and this is what they got. They asked if they needed to look somewhere else possibly?
@████████
Looks like the port is open then, assuming they ran that command from the Forms server.
What about the first two bullet points?
Let me check to see if they ran it from the Forms server. I will also check on the other two bullet points. I hopefully will have an answer Thursday.
@████████ We can't into the Forms Config site. Laserfiche forms is still working. So I can't check it. Error Message: The Forms license is invalid due to: ApplicationNotRegistered [LFF5017-LicenseValidationNoSuccess]
@████████
If that's the case I suggest you work with your solution provider, who can open a support case on your behalf if necessary. Seems like more might be going on under the surface. I'm hesitant to make any further recommendations without being able to take a look.
Thanks for your help! I will get with them to make a support case if they haven't already did that for me.