Production Reports and Backups TLS Error

Auteur avatarGareth Green | Dernière modification 30/01/2025 par Gareth Green en cours de rédaction

Resolution to TLS 1.0 and 1.1 error on sending production reports and backups

...Note: The email sending system only functions on version 6 software ONLY. There is no possibility it can be backwards engineered into older versions (Nextmove controllers) due to Microsoft Security updates


Background

The original code (v6.0.0.0-) used a proprietary email package to send SMTP messages. However a Microsoft Security Update forced a change to TLS 1.2 around the end of 2021.


An update to winMulti software (v6.4.94.1) was published in Jan 2022 using an outlook email Nuget package EASendMail to send SMTP emails directly from inside the code. This uses the email account "machines@stuga.co.uk" on the Stuga 365 account. The code has a hard-coded licence for this app, and was TLS 1.2 compatible.

Parameters are set up in params.saw by default as follows:


emailConnectType=1
emailPassword=Wuzo4848
emailPort=587
emailServer=smtp.office365.com
emailUser=machines@stuga.co.uk


Problem - TLS Message

Error message appears when attempting to send manually

Failed to send email 421.4.7.66 TLS 1.0 and 1.1 are not supported. Please update your client to support TLS 1.2....

Automatic production reports / backup files are not sent


The problem has happened due to Microsoft have changing some security provisions in office365 that mean we have to use TLS1.2.

https://aka.ms/smtp_auth_tls

Solution

New email client plugin needed for winMulti from EASendit with new licence

Update software to latest version

Commentaires

Draft