• Resolved tofar

    (@tofar)


    Hello all,

    we are using the free version of happyforms and are very grateful for this plugin. However checking SpamAssassin there are several errors and warnings:

    -0.635 HTML_MIME_NO_HTML_TAG HTML-only message, but there is no HTML tag
    -1.105 MIME_HTML_ONLY Message only has text/html MIME parts
    -1.400 TO_NO_BRKTS_HTML_ONLY To: lacks brackets and HTML only

    So basically the html mail is not probably formatted. How can we fix this? Do we need the Pro Version? Do we have the possibility to send just a plain/text mail?

    Any help is highly appreciated.

    br,
    Toni

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey there, Toni!

    We’re currently investigating this, and will ship various improvements as soon as possible — in the meanwhile, we can work around this with a simple PHP snippet. Try popping the below code in your functions.php file:

    function happyforms_wrap_email_content( $email_message ) {
        $content = $email_message->get_content();
        $content = '<html>' . $content . '</html>';
        $email_message->set_content( $content );
    
        return $email_message;
    }
    
    add_filter( 'happyforms_email_confirmation', 'happyforms_wrap_email_content' );
    add_filter( 'happyforms_email_alert', 'happyforms_wrap_email_content' );

    That should hopefully improve things. Let us know how it goes!

    Thread Starter tofar

    (@tofar)

    Thanks for the fast answer. This of course fixes HTML_MIME_NO_HTML_TAG as we now provide the html tags. This should do the trick for most spamfilters. However, the rating is also highly effect by MIME_HTML_ONLY and TO_NO_BRKTS_HTML_ONLY. Some restrictive spamfilters will filter this as well. Fixes for this would be very nice. Thanks again.

    Hey again!

    We’re aware of the issue — and we have a series of improvements planned on this front. We plan to ship them early in 2021, hopefully it’s not a huge showstopper for you right now. 🙂

    Let us know what you think!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘SpamAssassin Warnings regarding confirmation mail’ is closed to new replies.