Skip to main content
Kofax

Send to Mail Recipient - Send to Mail Recipient: Message was not sent. Exiting Component (0x80004005)

Article # 3053206 - Page views: 98

Problem: 

After upgrading to CS1.3 FixPack 3 the Send to Mail Recipient does not work anymore and no mail can be sent via SMTP. Also there is a problem, if the SMTP server setting in AutoStore Designer is tested. This will end up in an error message:

In CS1.3 Send to Mail Recipient component can't utilize TLS 1.3 and send emails due to TLS version mismatch. TLS1.3 is not supported in CS1.3: Restrictions and limitations (kofax.com ) Details: It can't connect to the SMTP server because in third-party Chilkat v9.5.0.84 TLS 1.3 is enabled by default which causes TLS 1.3 to be offered in the ClientHello of the TLS protocol. It results the server (AS) did not choose the exact version of SSL/TLS that is required.The logs show the following message:--readSmtpResponseclientHandshake:clientHandshake2:Server did not choose the exact version of SSL/TLS that is required.sendFatalAlert:Closing connection after sending fatal TLS alert.

Solution:

  1. If a valid maintenance contract exists, the hotfix can be provided via support.
  2. Hotfix: AutoStore-SendToMailRecipient-8.3.4.34.FIX18408
  3. Fix will be included in CS1.4
Error in AutoStore Workflow Designer SMTP Server Test:

smtp.office365.com is not responding or is an invalid SMTP Server

Example error message in log: 

Information    Send to Mail Recipient:  Preparing mail message for sending through SMTP server smtp.office365.com....    01/19/2023 08:19:58
Information    Send to Mail Recipient:  Set SERVER to smtp.office365.com    01/19/2023 08:19:58
Information    Send to Mail Recipient:  Set SMTP PORT to 587    01/19/2023 08:19:58
Information    Send to Mail Recipient:  Set SMTP TIMEOUT to 100    01/19/2023 08:19:58
Information    Send to Mail Recipient:  Use cipher protocol TLS 1.2 or higher for connection.    01/19/2023 08:19:58
Error    Send to Mail Recipient:  Cannot connect to the server smtp.office365.com.    01/19/2023 08:19:58

Information    Send to Mail Recipient:  ChilkatLog:
  VerifySmtpConnection:
    DllDate: Sep 28 2020
    ChilkatVersion: 9.5.0.84
    UnlockPrefix: NUANCE.CBX112020
    Architecture: Little Endian; 32-bit
    Language: Visual C++ 2019 (32-bit)
    VerboseLogging: 0
    smtpConnectAndAuthenticate:
      smtpConnect:
        smtpHostname: smtp.office365.com
        smtpPort: 587
        connectionIsReady:
          Need new SMTP connection
        --connectionIsReady
        smtpSocketConnect:
          socketOptions:
            SO_SNDBUF: 262144
            SO_RCVBUF: 4194304
            TCP_NODELAY: 1
            SO_KEEPALIVE: 1
          --socketOptions
        --smtpSocketConnect
        smtpGreeting:
          readSmtpResponse:
            SmtpCmdResp: 220 ZR0P278CA0195.outlook.office365.com Microsoft ESMTP MAIL Service ready at Thu, 19 Jan 2023 07:19:57 +0000
          --readSmtpResponse
        --smtpGreeting
        startTLS:
          sendCmdToSmtp:
            SmtpCmdSent: EHLO FKCS13FP3TVDEMO<CRLF>
          --sendCmdToSmtp
          readSmtpResponse:
            SmtpCmdResp: 250-ZR0P278CA0195.outlook.office365.com Hello [91.199.85.244]
            SmtpCmdResp: 250-SIZE 157286400
            SmtpCmdResp: 250-PIPELINING
            SmtpCmdResp: 250-DSN
            SmtpCmdResp: 250-ENHANCEDSTATUSCODES
            SmtpCmdResp: 250-STARTTLS
            SmtpCmdResp: 250-8BITMIME
            SmtpCmdResp: 250-BINARYMIME
            SmtpCmdResp: 250-CHUNKING
            SmtpCmdResp: 250 SMTPUTF8
          --readSmtpResponse
          sendCmdToSmtp:
            SmtpCmdSent: STARTTLS<CRLF>
          --sendCmdToSmtp
          readSmtpResponse:
            SmtpCmdResp: 220 2.0.0 SMTP server ready
          --readSmtpResponse
          clientHandshake:
            clientHandshake2:
              readHandshakeMessages:
                processHandshakeRecord:
                  processHandshakeMessage:
                    processServerHello:
                      processKeyShareExtension:
                        Unexpected key_share group
                        serverRequestedKeyShareGroup: 0x18
                      --processKeyShareExtension
                      sendFatalAlert:
                        Closing connection after sending fatal TLS alert.
                      --sendFatalAlert

                      Invalid key_share extension
                    --processServerHello
                  --processHandshakeMessage
                --processHandshakeRecord
              --readHandshakeMessages
            --clientHandshake2
          --clientHandshake
          Client handshake failed. (1)
          connectionClosed: 0
          Failed to establish TLS connection.
        --startTLS
      --smtpConnect
    --smtpConnectAndAuthenticate
    Failed.
  --VerifySmtpConnection
--ChilkatLog
    01/19/2023 08:19:58
Error    Send to Mail Recipient:  Message was not sent. Exiting Component (0x80004005).    01/19/2023 08:19:58

2023-01-19_08-20-12.png

2023-01-19_08-33-23.png

2023-01-19_08-20-33.png

Applies to:  

Product Version
ControlSuite AutoStore 8.3.3.44

 

Article # 3053206