none
Workflows cannot send emails, stuck in PostProcessing state RRS feed

  • Question

  • Hi, FIM portal workflows with email functionality are stuck in post processing state. The event viewer has two entries as below:

    First:

    EmailNotificationDataExchange caught an exception while trying to send an email.  The email was not sent.  See the trace immediately following for exception contents.

    Second:

    System.Web.Services: System.Net.WebException: The request failed with HTTP status 403: Forbidden.

       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

       at Microsoft.ResourceManagement.WebServices.Mail.Exchange.ExchangeServiceBinding.CreateItem(CreateItemType CreateItem1)

       at Microsoft.ResourceManagement.Mail.ExchangeProxy.ExecuteCreateItem(CreateItemType request)

       at Microsoft.ResourceManagement.Mail.ExchangeServer.SendNotification(NotificationMessage message)

       at Microsoft.ResourceManagement.Mail.NotificationMessage.Send(Int32 timeoutInMilliseconds)

       at Microsoft.ResourceManagement.Workflow.Hosting.SendMailWorkItemProcessor.SendMailMessage(MessageContent messageContent, Int32 timeoutInMilliseconds)

       at Microsoft.ResourceManagement.Workflow.Hosting.SendMailWorkItemProcessor.ProcessWorkItem(WorkItem workItem)

    Wednesday, January 7, 2015 10:36 AM

All replies

  • Hi,

    It seems that FIMService Service Account does not have the right to send a mail, using the Exchange Web Service. Can you check if all configuration are good?

    Step-by-step http://technet.microsoft.com/en-us/library/ff512686%28v=ws.10%29.aspx

    Post-Installation Tasks > Configuring the FIM Service service Exchange mailbox

    Regards,



    Sylvain

    • Proposed as answer by Shashidhar J Tuesday, September 12, 2017 8:28 AM
    Wednesday, January 7, 2015 3:21 PM
  • Hi, Thanks for your input.

    The Service account does have access to send email. I can open the outlook with service account also I can send mail through that account.

    Also, to give you backgroud we have upgraded the FIM from 2010 to 2010R2 after which we are facing this issue. there has been no change on exhange side.

    Thursday, January 8, 2015 8:07 AM
  • I am also facing same issue

    WorkflowInstance 'd5fcebda-1d97-41e8-a1eb-84890f860108' could not send mail message in activity 'authenticationGateActivity1'. Scheduling to retry in 6 hours.

    System.Web.Services: System.Net.WebException: The request failed with HTTP status 404: Not Found.
    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
    at Microsoft.ResourceManagement.WebServices.Mail.Exchange.ExchangeServiceBinding.CreateItem(CreateItemType CreateItem1)
    at Microsoft.ResourceManagement.Mail.ExchangeProxy.ExecuteCreateItem(CreateItemType request)
    at Microsoft.ResourceManagement.Mail.ExchangeServer.SendNotification(NotificationMessage message)
    at Microsoft.ResourceManagement.Mail.NotificationMessage.Send(Int32 timeoutInMilliseconds)
    at Microsoft.ResourceManagement.Workflow.Hosting.SendMailWorkItemProcessor.SendMailMessage(MessageContent messageContent, Int32 timeoutInMilliseconds)
    at Microsoft.ResourceManagement.Workflow.Hosting.SendMailWorkItemProcessor.ProcessWorkItem(WorkItem workItem)

    Tuesday, August 22, 2017 10:41 AM