Sage 100c premium 2016 paperless emails failing

Just thought I would share this for anyone else that may be looking for problems with emails and TLS 1.0 TLS 1.1.  The Additional information is at the very bottom of the KB and could easily be missed.

Additional information

Note: Microsoft and other e-mail providers (Apple, Google/Gmail, Cisco, etc.) have discussed (or already implemented) discontinuing support for TLS 1.0/1.1 and will only support TLS 1.2 for email. Microsoft has rescheduled their implementation of this change for Office 365 e-mail several times. However, starting September 2021, they began in earnest.

Note: These links are to Microsoft web pages. Their contents are subject to change. Sage is not responsible for the content of external web links.

Error: "Failed to read beginning of SSL/TLS record" and "Failed to establish TLS connection" when attempting Test e-mail

Summary

Error: "Connection closed by server", "Failed to read beginning of SSL/TLS record", "Failed to read incoming handshake messages", and "Failed to establish TLS connection" when attempting Test e-mail (Electronic Delivery) from Library Master, Company Maintenance in Sage 100

Note: Relevant ChilkatLog error information below, particularly in bold:

Connection closed by server.
Failed to read beginning of SSL/TLS record.
Failed to read incoming handshake messages (X)
Client handshake failed.
Failed to establish TLS connection.
--
SMTP_Connect

Failed to connect to SMTP server.
Failed.
--VerifySmtpLogin
--ChilkatLog

Disclaimer

Support

Sage Customer Support does not provide assistance for issues related to third party products or enhancements, hardware, report customizations, state or federal tax-related questions, or specific accounting questions. Please contact your Sage business partner, network administrator, or accountant for assistance. Please review this document for additional information on the scope of Sage Customer Support Services.

Cause

  • The SMTP (e-mail) server may only be accepting certain cipher suites or versions of TLS encryption that the version of Sage 100 does not offer.
    • Example: Sage 100 2018 and earlier use TSL 1.0 or 1.1. The current standard is TLS 1.2. Sage 100 2019 and higher uses TLS 1.2.
  • There may be interference due to firewall restrictions or antivirus or security software.
  • There may be operating system or network-related data corruption.

Resolution

Note: There are numerous different server programs and providers that provide the services of an SMTP e-mail server. Sage does not test Sage 100 with all e-mail services/programs/providers. Sage 100 Customer Support is not responsible for knowing the exact combination of program or provider, security or permission settings, inbound or outbound rules, account logins, passwords, bandwidth restrictions, etc. to enable successful e-mail delivery. The specifics of services, programs, and providers are subject to change. If an error is encountered, troubleshoot based on the Chilkat error log information. You may need to try various settings, or test an alternate service, program, or provider.

  • The SMTP (e-mail) server may only be accepting certain cipher suites or versions of TLS encryption that the version of Sage 100 does not offer:
    • Consider upgrading to a current version of Sage 100 that uses the current standard of TLS encryption: TLS 1.2.
      • Note: Sage 100 2019 and higher uses TLS 1.2.
      • Note: For more information on TLS encryption, see the Related Resources section.
    • Find an SMTP provider that will allow, or change the SMTP server to allow, TLS 1.0 and 1.1.
      • Caution: TLS 1.0 and 1.1 are deprecated due to security vulnerabilities.
  • There may be interference due to firewall restrictions or antivirus or security software settings:
    • Try reconfiguring or temporarily disabling any firewall, antivirus, or security software.
      • Note: Sage 100 Customer Support is not responsible for knowing the exact settings or options available within the many products available.
  • There may be operating system or network-related data corruption:
    • Investigate possible corruption.
      • Note: Sage 100 Customer Support is not responsible for investigating operating system or network-related data corruption.
  • I am receiving significant reports of this from various customers - all on v2018.

    In some cases, an email will send one time.

    Then they try again and it won't send.

    Then they try again and it works.

    I have one site where they'll try to send 400 documents and only 40 show as going through. I'm unsure if this one is site-specific but am also looking at the TLS issue.

    While there are many temporary solutions - including a "secret" 2018 patch ( which requires a pre-release agreement to obtain ) - the primary way around this issue is to stay on the current or current-1 release.

    Other workarounds I've seen or heard of: 

    - Use smtp2go as your email server ( none of my customers have ever wanted to use an external email server that is not their primary but I hear other sites have done this with success)

    - Follow this Microsoft KB for a new opt-in endpoint for SMTP AUTH clients still needing legacy TLS

    I call this entire issue the coming Sage 100 Tsunami. It's going to grow and grow until one day it slams into shore when Microsoft finally disables all TLS 1.0 and 1.1 access.

  • FormerMember
    FormerMember in reply to Wayne Schulz

    It seems perpetual users are losing this battle and may be their last stand.

    I'm surprised one of the M/Ds hasn't tried to make a business out of providing fixes for Sage unsupported 100 versions.

  • Got an Admin notification to my Outlook 365 account.  Tested emails today and they are working without a problem now.
    Some users are intermittently unable to access their mailboxes through multiple connection methods when using TLS 1.0
    EX294404, Exchange Online, Last updated: October 28, 2021 3:39 PM
    Estimated start time: October 27, 2021 11:47 AM
    Issue type
    Incident
    Status
    Service degradation
    User impact
    Users may intermittently be unable to connect to Exchange Online through IMAP, SMTP, and POP3 while using TLS 1.0.
    Are you experiencing this issue?
    Is this post helpful?
    All updates
    October 28, 2021 3:39 PM
    Title: Some users are intermittently unable to access their mailboxes through multiple connection methods when using TLS 1.0 User Impact: Users may intermittently be unable to connect to Exchange Online through IMAP, SMTP, and POP3 while using TLS 1.0. More info: Users of the legacy Transport Layer Security (TLS) version 1.0 are experiencing intermittent failures when attempting to connect to Exchange Online from IMAP, SMTP, and POP3. Current status: We're developing a fix to correct the deployment conflict so that we can resume the implementation of the solution. Scope of impact: A small subset of users of TLS 1.0 are intermittently unable to connect to Exchange Online from IMAP, SMTP, and POP3. Root cause: A CAFE TLS configuration issue is preventing some users from connecting to the Exchange Online service through IMAP, SMTP, POP3. Next update by: Thursday, October 28, 2021, 7:00 PM (10/29/2021, 12:00 AM UTC)
  • in reply to gseales

    Invoice emails started failing again on 12/10/2021.  You could keep on trying them and slowly after many attempts they would could through but not ideal.  I finally setup a SMTP2Go account and it is working for sending emails from our Sage 100 2016.  *One note,  If you get error 535 login error, is that length of user name and pwd can't be too long so try shorter.