Email event not sending email

  • 16 February 2021
  • 0 replies
  • 139 views

Userlevel 5
Badge +20
 

Email event not sending email

kbt140233

PRODUCT
K2 blackpearl 4.7
BASED ON
K2 blackpearl 4.7
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.
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Issue

The Email event is failing to send an email and the following errors are logged:

"Error 0 Mail send failure: EWS URL is not valid. Verify the connection strings are correct. Exception: The request failed. The remote server returned an error: (401) Unauthorized.
Warning 0 Autodiscover used to determine valid EWS URL. Reconfigure K2 server to cache updated EWS URL and prevent autodiscover calls.
Error 0 Autodiscover Failure: The Exchange server is not available, the password is incorrect or the e-mail address K2SERVICE@denallix.com does not exist.
Error 28083 ServerEvent: SourceCode.Workflow.Common.EWS: Autodiscover Failure: The Exchange server is not available, the password is incorrect or the e-mail address K2SERVICE@denallix.com does not exist.
InnerException: SourceCode.Workflow.Common.EWS: Autodiscover Failure: The Exchange server is not available, the password is incorrect or the e-mail address K2SERVICE@denallix.com does not exist"

Symptoms

The 'SourceCode.MessageBus.Ews..." connection strings had the 'User ID' as an email address 'k2service@denallix.com' instead of a 'domainusername' format.

Image

Resolution

Run the ConnectionStringEditor.exe tool located at "C:Program Files (x86)K2 blackpearlHost ServerBin". You may have to run this tool with the "Run as Administrator" option if it fails to load with RSA error.

Image

 

Update the 'SourceCode.MessageBus.Ews..." connection strings and set the 'User ID' to the 'domainusername' format (DENALLIXK2Service), save the changes and restart the K2 blackpearl service/console mode to resolve the issue.

Image


0 replies

Be the first to reply!

Reply