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

Question

Question

This test email failed because: Failure Sending Mail - FormsConfig

asked on December 4, 2014 Show version history

Hi,

 

I have setup Forms for a client and using 9.2. I have a problem when doing the forms config and trying to send out a test email. I get the message "This test email failed because: Failure Sending Mail. It does not send out notifications either. I am using the exact same settings that workflow uses and workflow sends out quite a lot of notifications everyday.

 

This is Error message I get:

 

 

 

 

 

 

This is the Windows Application Log:

Log Name:      Application
Source:        Laserfiche Forms
Date:          12/5/2014 8:05:24 AM
Event ID:      0
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      ZASTBLF01SV.corp.peri
Description:
Message: Failure sending mail.
Server stack trace:
   at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Laserfiche.Forms.Routing.IRoutingEngineService.TestEmailNotification(EmailParam param, String destination)
   at FormsModel.SharedContracts.RoutingEngineServiceProxy.TestEmailNotification(EmailParam param, String destination)
   at System.Web.Mvc.ActionMethodDispatcher.<>c__DisplayClass1.<WrapVoidAction>b__0(ControllerBase controller, Object[] parameters)
   at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass48.<InvokeActionMethodFilterAsynchronouslyRecursive>b__41()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass33.<BeginInvokeActionMethodWithFilters>b__32(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Laserfiche Forms" />
    <EventID Qualifiers="0">0</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-12-05T06:05:24.000000000Z" />
    <EventRecordID>84970</EventRecordID>
    <Channel>Application</Channel>
    <Computer>ZASTBLF01SV.corp.peri</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Message: Failure sending mail.
Server stack trace:
   at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc&amp; rpc)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)
   at Laserfiche.Forms.Routing.IRoutingEngineService.TestEmailNotification(EmailParam param, String destination)
   at FormsModel.SharedContracts.RoutingEngineServiceProxy.TestEmailNotification(EmailParam param, String destination)
   at System.Web.Mvc.ActionMethodDispatcher.&lt;&gt;c__DisplayClass1.&lt;WrapVoidAction&gt;b__0(ControllerBase controller, Object[] parameters)
   at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;BeginInvokeSynchronousActionMethod&gt;b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.&lt;InvokeActionMethodFilterAsynchronouslyRecursive&gt;b__3f()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.&lt;&gt;c__DisplayClass48.&lt;InvokeActionMethodFilterAsynchronouslyRecursive&gt;b__41()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass33.&lt;BeginInvokeActionMethodWithFilters&gt;b__32(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass21.&lt;&gt;c__DisplayClass2b.&lt;BeginInvokeAction&gt;b__1c()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass21.&lt;BeginInvokeAction&gt;b__1e(IAsyncResult asyncResult)</Data>
  </EventData>
</Event>

Have any of you had this issue before?

0 0

Answer

APPROVED ANSWER
replied on December 5, 2014

Sometimes Mcafee has to be configured per application, not just per port.  It may be allowing WF to send emails but not Forms.  Can you make sure this is not the case?

1 0

Replies

replied on December 4, 2014 Show version history

Can you show me what value you configured for SMTP server/Port/User name/Password and is the SMTP server require SSL or not? The error "Failure sending mail" usually caused by wrong configuration.

0 0
replied on December 5, 2014

Hi Xiuhong,

 

I will send you a screenshot of the configuration for Forms and for Workflow.

 

Settings exactly the same.

 

 

 

0 0
replied on December 5, 2014

Are you using an antivirus application? If you are please make sure that it is not blocking the SMTP ports when initiated by Forms. 

0 0
replied on December 5, 2014

Hi Raymond,

 

Workflow is on the same server as the Forms and Workflow sends out more than 100 notifications a day without any issue. They are using Mcafee.

The SMTP Ports are not blocked.

0 0
APPROVED ANSWER
replied on December 5, 2014

Sometimes Mcafee has to be configured per application, not just per port.  It may be allowing WF to send emails but not Forms.  Can you make sure this is not the case?

1 0
replied on December 10, 2014

Hi Guys,

 

Thanks for your assistance. It was after all the McAfee that was blocking it.

 

Thanks Raymond

0 0
replied on December 10, 2014

 Glad it works Greg!

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

Sign in to reply to this post.