Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Michael Beever 74 posts 155 karma points
    Nov 03, 2021 @ 10:33
    Michael Beever

    HTML Emails


    I am trying to send an email to receipients from Formulate but all emails seem to be sent in plain text.

    Is there a way to stop this or change it?


  • Nicholas Westby 2054 posts 7100 karma points c-trib
    Nov 10, 2021 @ 18:12
    Nicholas Westby

    According to the latest code for the email handler:

            // Add plain text alternate view.
            var mimeType = new ContentType(MediaTypeNames.Text.Plain);
            var emailView = AlternateView.CreateAlternateViewFromString(plainTextBody, mimeType);
            // Add HTML alternate view.
            mimeType = new ContentType(MediaTypeNames.Text.Html);
            emailView = AlternateView.CreateAlternateViewFromString(htmlBody, mimeType);

    It should be including both an HTML and a plain text version of the email. See here:

    If by "plain text" you mean that the emails are very basic, you could either create a custom handler to send a more developed email or you could use the designed emails feature of Formulate pro:

    That allows you to construct custom emails (e.g., if you want to have a better design).

    Another alternative would be to send the data to some third party like HubSpot, then send an email using that platform.

Please Sign in or register to post replies

Write your reply to: