This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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
  • Hi Michael,

    The functionality you're referring to is part of the open-source API Extensions library (the VAF Extensions library uses this): Issues · M-Files/COMAPI.Extensions.Community (github.com)

    I haven't personally used this email functionality in a long time.  It may be worth you creating a small application that shows this not working, and then creating an Issue on github and providing the application as an example.  From there we should be able to look into whether this is a bug in the library or not.

    Does it work if you set a text body?

    Regards,

    Craig.

Reply
  • Hi Michael,

    The functionality you're referring to is part of the open-source API Extensions library (the VAF Extensions library uses this): Issues · M-Files/COMAPI.Extensions.Community (github.com)

    I haven't personally used this email functionality in a long time.  It may be worth you creating a small application that shows this not working, and then creating an Issue on github and providing the application as an example.  From there we should be able to look into whether this is a bug in the library or not.

    Does it work if you set a text body?

    Regards,

    Craig.

Children