Course news email not parse HTML

Home Forums Legacy Support Support queries How-to & Troubleshooting Course news email not parse HTML

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #242889
    Intuagency
    Spectator
    Hi I'm using Postman SMTP plugin to deliver emails. these codes don't work: <p style="box-sizing: border-box; margin: 0px 0px 22px; color: #4b4d4d; font-family: Lato; font-size: 14px;">add_filter( 'bp_email_use_wp_mail', '__return_true' );</p> or <p style="box-sizing: border-box; margin: 0px 0px 22px; color: #4b4d4d; font-family: Lato; font-size: 14px;">add_filter( 'bp_email_use_wp_mail', '__return_false' );</p>   <span class="tlid-translation translation" lang="en"><span class="" title="">All students are receiving illegible emails. What should I do?</span></span>
    #242891
    Intuagency
    Spectator
    update: this is email sent: https://prnt.sc/r3s3ak in the lower part the e-mail is correct (html) so wordpress is sending the email correctly
    #242928
    logan
    Member
    Hi there, 1) [IMP.] Please try using the Postman SMTP for emailing. Refer : https://wplms.io/support/knowledge-base/postman-smtp-for-emails/ 2) else Try adding this code in wp-admin > Plugins > Editor > select WPLMS Customizer Plugin > wplms-customizer.php add_filter('wp_mail_content_type', 'text/plain', function () { return 'text/html'; },999); 3)else try this one for email please try adding this code in your wplms-customizer.php file in wplms customizer plugin : : add_filter( 'wp_mail_content_type', 'set_content_type' ,9999999); function set_content_type( $content_type ) { return 'text/plain'; } and if above does not works remove it and try this one : add_filter( 'bp_email_use_wp_mail', '__return_true ' ); if it does not work then use this: add_filter( 'bp_email_use_wp_mail', '__return_false ' );
    #242940
    Intuagency
    Spectator
    Hi there, as I have already written, I am using Postman SMTP for emailing. I have tried all the codes shown, but they don't work.
    #243096
    logan
    Member
    Have you tried this:

    2) else Try adding this code in wp-admin > Plugins > Editor > select WPLMS Customizer Plugin > wplms-customizer.php

    add_filter('wp_mail_content_type', 'text/plain', function () {
    return 'text/html'; },999);

    3)else try this one for email please try adding this code in your wplms-customizer.php file in wplms customizer plugin : :

    add_filter( 'wp_mail_content_type', 'set_content_type' ,9999999);

    function set_content_type( $content_type ) {

    return 'text/plain';

    }

    this is the issue with buddypress not the wplms ones. thats why i suggested you the solution provided by them. here is the detailed information:
    1. https://buddypress.org/support/topic/buddypress-mails-get-sent-text-only/
    2. https://buddypress.org/support/topic/buddypress-messagecomment-emails-not-sending-since-update/
    3. https://wordpress.org/support/topic/emails-from-bbpressbuddypress-sent-in-plain-text-instead-of-html/
    4. https://wordpress.org/support/topic/emails-sending-out-in-raw-html/
    5. https://wordpress.org/support/topic/emails-and-messages-showing-html-format/
    you can also contact the BuddyPress support system for their support. or try the above ones, it worked for everyone except you.
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Course news email not parse HTML’ is closed to new replies.