EMailMessage Body is always empty

Hello,

I've tried to send an email via the M-Files EmailMessage Class.

I wrote all the values to the needed variables. Also the HtmlBody Variable is set. But when I send the email with EmailMessage.Send() an e-mail without any text arrives at my mailbox. I have tried it with several e-mail clients in windows and at my phone.

While debugging I was able to see, that EmailMessage is inherited from the .NET MailMessage. Inside this class the body variable is not set. 

Am I doing something wrong here or is this a bug inside the MFiles.VAF.Extensions (I am using version 23.5.53).

Thanks for help

Michael

Parents Reply
  • I created a new Vault Application which includes exactly the same code as in my buggy application. 

    But in the new application this error does not occour. So I have checked the corresponding packages. But also the packages are in the same version. Also the target framerwork (4.7.2) is the same in both applications. 

    Do you have any other advice to find the problem here?

    Greetings

Children