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

Question

Question

Email Server Setup Fails

asked on February 23, 2017 Show version history

I am struggeling to setup my smtp server in workflow.

One of my are on the same network as I am and using the same configuration settings.

Yet his configuration works & mine doesn't

Below is the eeror report from workflow admin console.

 

 

----------------------------------------
Timestamp: 2017-02-23 10:11:18.715
Local Time: 2017-02-23 12:11:18 PM
Category: Communication
Machine: KDZA_DAVIDW
Severity: Error
Application Domain: Laserfiche.Workflow.Service.exe
Process Id: 6700
Process Name: C:\Program Files\Laserfiche\Laserfiche Workflow 10\Laserfiche.Workflow.Service.exe
Win32 Thread Id: 16068 -
Thread Name:
Message: <Exception handlingInstanceId="828ebd6c-96ce-42a8-98ba-07e88578a0d9">
  <Description>An exception of type 'System.Net.Mail.SmtpException' occurred and was caught.</Description>
  <DateTime>2017-02-23 12:11:18Z</DateTime>
  <ExceptionType>System.Net.Mail.SmtpException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
  <Message>Failure sending mail.</Message>
  <Source>System</Source>
  <HelpLink />
  <Property name="StatusCode">GeneralFailure</Property>
  <Property name="Operation">TestEmailServer</Property>
  <Property name="Session">uuid:e49ef089-8f79-4f0d-a268-b362d3f8001f;id=4</Property>
  <Property name="Application">Laserfiche.Workflow.ConfigurationManager.exe</Property>
  <Property name="User">KDZA\DavidW</Property>
  <Property name="SID">S-1-5-21-2468248122-4000347208-2231168974-14155</Property>
  <Property name="IP">::1</Property>
  <Property name="RemoteMachine">KDZA_DAVIDW</Property>
  <Property name="TargetSite">Void Send(System.Net.Mail.MailMessage)</Property>
  <Property name="HResult">-2146233088</Property>
  <StackTrace>   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at Laserfiche.Workflow.Operations.DesignerSupport.TestEmailServerOperation.Execute(WcfOperationContext context)
   at Laserfiche.Workflow.Runtime.Systems.SubsystemCommandHandler.ProcessExecuteCommand(ExecuteOperationCommand command)
   at Laserfiche.Workflow.Runtime.WcfSubsystem.ExecuteOperation(OperationCommand operation)</StackTrace>
  <additionalInfo>
    <info name="MachineName" value="KDZA_DAVIDW" />
    <info name="TimeStamp" value="2017-02-23 10:11:18 AM" />
    <info name="FullName" value="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    <info name="AppDomainName" value="Laserfiche.Workflow.Service.exe" />
    <info name="ThreadIdentity" value="KDZA\DavidW" />
    <info name="WindowsIdentity" value="NT AUTHORITY\SYSTEM" />
  </additionalInfo>
  <InnerException>
    <ExceptionType>System.Net.WebException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
    <Message>Unable to connect to the remote server</Message>
    <Source>System</Source>
    <HelpLink />
    <Property name="Status">ConnectFailure</Property>
    <Property name="Response">&lt;undefined value&gt;</Property>
    <Property name="TargetSite">System.Net.Sockets.Socket GetConnection(System.Net.PooledStream, System.Object, Boolean, System.Net.IPAddress ByRef, System.Net.Sockets.Socket ByRef, System.Net.Sockets.Socket ByRef)</Property>
    <Property name="HResult">-2146233079</Property>
    <StackTrace>   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress&amp; address, Socket&amp; abortSocket, Socket&amp; abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpTransport.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)</StackTrace>
    <InnerException>
      <ExceptionType>System.Net.Sockets.SocketException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
      <Message>An attempt was made to access a socket in a way forbidden by its access permissions 172.20.180.27:25</Message>
      <Source>System</Source>
      <HelpLink />
      <Property name="ErrorCode">10013</Property>
      <Property name="SocketErrorCode">AccessDenied</Property>
      <Property name="NativeErrorCode">10013</Property>
      <Property name="TargetSite">Void DoConnect(System.Net.EndPoint, System.Net.SocketAddress)</Property>
      <Property name="HResult">-2147467259</Property>
      <StackTrace>   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket&amp; socket, IPAddress&amp; address, ConnectSocketState state, IAsyncResult asyncResult, Exception&amp; exception)</StackTrace>
    </InnerException>
  </InnerException>
</Exception>
----------------------------------------

 

0 0

Replies

replied on February 23, 2017

Hi David,

 

Check that SMTP relay is enabled on the Exchange server for the IP address of the workflow server.

 

smileyyes

0 0
replied on February 23, 2017

What SMTP port are you using?

If you have a Firewall/personal firewall/internet security on either end, make sure that the IP and ports are allowed both ways.

0 0
replied on February 23, 2017

I would recommend performing a connectivity test from the workflow management console and then proceed to enhance the test from the workflow.
Credentials may not be correct.

0 0
replied on February 23, 2017

Hi guys.

 

The workflow server is on my laptop.

I am using an NFR for testing & development purposes.

I have confirmed that all network related settings have been setup.

I had the guys from our exchange department here & they confirmed that on their side everything is working.

We also tested the settings on a different workflow server & a different app.

I have turned off my windows firewall but that also did not make any change.

When I test the settings as suggested by Mauel I simply get a very quick "Failed" response.

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

Sign in to reply to this post.