Email settings - Text based

We’re currently using Kentico v9.0.50 and we’re experiencing an issue with the email settings. We’re trying to send the email in text-based format (via the email settings option set to either Both or Text-Based), however it seems like Kentico keeps sending the email in HTML regardless of our choice. It does that even when emptying the cache.

How can we go about to force Kentico to send the emails in text-based format (or at least include it as an attachment when sending a HTML-based email as well)?

Recent Answers

Does your email template have both the HTML and plain text filled out?

From the Documentation: You can choose between HTML and Plain text. If Both is selected and an email template has both formats defined, HTML will be used for the email text and plain text will be included as an attachment.

I'm generating the content of the email by a custom code, then my service calls email controller on kentico side to add it to the email queue and then kentico is sending it using the native scheduled task CMS.Scheduler.QueueSender

As you can see on this print screen the email body is generated in plain Text, but whene i receive it the content is displayed only in HTML format