This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.

Issue

When using the Smartforms 'send an e-mail' action to trigger the email, intended users do not receive the email notification.

Symptoms

From the K2 Host Server and Event Viewer logs, the following error can be seen:-

Error","MessageBus","61007","SendMessageException","MessageBusRuntime","61007 Permanent failure sending message [MESSAGE SUBJECT]: System.Exception: No destinations could send the message [MESSAGE SUBJECT]. at SourceCode.MessageBus.Server.MessageBusRuntime.SourceCode.MessageBus.IMessageDestination.Send(String title, MessageExtendedInformation extended, IEnumerable`1 attachments, MessageBodyReader[] messageBodies)","","","dlx:C:\Program Files (x86)\K2 blackpearl\Host Server\Bin","3091646","5b321b5d7a6147a883a9e283cd2df557",""

Troubleshooting Steps

The issue is due to missing path configuration in K2HostServer.exe.config. To resolve the issue, please make the following change:-

1. Make a backup of the K2HostServer.exe.config file.

2. In the K2HostServer.exe.config file, locate the section below and change:-
From:

<sourceCode.smartActions.directoryCatalog>
    <catalogs>
       <add path="SmartActions" />
    </catalogs>
</sourceCode.smartActions.directoryCatalog>

To:

<sourceCode.smartActions.directoryCatalog>
    <catalogs>
      <add path="SmartActions" />
      <add path="SmartActions\SMTP" />
    </catalogs>
</sourceCode.smartActions.directoryCatalog>

3. Save the config file, and restart the K2 Blackpearl server service.