• Resolved alx359

    (@alx359)


    When receiving a new testimonial by email, the message is displayed as html source, with no graphic layout at all. That seems like a double-encoding problem somewhere. How/where to fix this? I have no such issue with any other admin emails I receive from WP/WC.
    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter alx359

    (@alx359)

    This issue seems to come from a hard-coded setting in ST.

    strong-testimonials\includes\class-strong-form.php line 506:

    $headers = 'Content-Type: text/plain; charset="' . get_option( 'blog_charset' ) . '"' . "\n";

    needs to be changed to:

    $headers = 'Content-Type: text/html; charset="' . get_option( 'blog_charset' ) . '"' . "\n";

    Can that be changed other way than hacking the code?

    Hi @alx359,

    That is the only solution at the moment, yes – I’m sorry.
    I opened a ticket re. it though. We hope to solve it in a future update.

    Warmly,
    Mihaela

    Hi @alx359,

    Our developers have tried to replicate this but could not.
    Can you please give me a bit more details about this issue?
    It would really help us so we can reproduce it.

    Warmly,
    Mihaela

    Thread Starter alx359

    (@alx359)

    Hi Mihaela,

    Web page -like emails should have a header set like Content-Type: text/html to get displayed correctly in the email client (e.g. Thunderbird). As is now, Content-Type: text/plain doesn’t instruct the email client how to properly render the email, and displays it in HTML source instead. That becomes an issue with WooCommerce and/or an email template system.

    HTH.

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘new testimonial email displayed in html source issue’ is closed to new replies.