Issues sending mails with DVLS 2025.2.11.0 and Exchange 2019 (with Patches from August) via TLS

Implemented

Issues sending mails with DVLS 2025.2.11.0 and Exchange 2019 (with Patches from August) via TLS

avatar

Hallo members of the Devolution community,


yesterday i installed a brand new DVLS, because we are planning to implement it in our infrastukture in combination with RDM. Installation and basic configuration went smooth till i configured our mailserver. I wasn`t able to get SMTP over TLS to work. As mailserver we are using Mircosoft Excahnge 2019. Long story short, currently their seems to be a bug in DVLS 2025.2.11.0 in combination with our Exchange 2019 in his configuration.


The error messege (errormessage.txt) from the log was also not really helping. Then we tried sending Mails via PowerShell from the DVLS-Server. We used the command "Send-MailMessage" with the same settings as in DVLS (mailsettings.png/mailsettings2.png) and it worked. The conclusion? mailserver and configuration was fine.


After taking a secound look at the errormessage to recognised DVLS uses the MailKit-Library for sending mails. After checking the version of the MailKit.dll-File in the installation directory (Version 4.12.0.0) i checkt if their is a newer version available. Since i am using MailKit in some PowerShell-scripts as well, i had the .net8.0-variant of the MailKit.dll in the Version 4.13.0.0 laying around and i decided to switch to the newer dll. Tried again and new its working.


@Devolution Devs

Please take a look at this issue and maybe update to the newer dll in future releases von DVLS.


I wanted to share this, so if some else has comparable issues maybe this post will help


Greetings from Germany,

Markus

All Comments (4)