test html nieuws 11:47 22-4-2020

test link 2

12:19
WP-mail smtp is activated
No changes in wplms-customizer.php or buddypress core-fucntion.php
result:
– course news mail:nice e-mail template with plain text with  html code within
– welcome mail looks fine, nice e-mail template with html

12:27 changed line 3201 buddypress core-function.php content-plaintext to content-html
result: course news mail:nice e-mail template with plain text with  html code within

12:30 add the line  add_filter( ‘bp_email_use_wp_mail’, function() { return false; },99); to wplms-customizer.php again
result: course news mail:nice e-mail template with plain text with  html code within

12:34 above line outcommended and:
add the line  add_filter( ‘bp_email_use_wp_mail’, function() { return true; },99); to wplms-customizer.php again
result: No e-mail was send

12:37 above line outcommended and:
add the line add_filter( ‘wp_mail_content_type’, function( $content_type ) { return ‘text/html’; },9999999);  again
result: course news mail:no e-mail template with plain text with  html code within no paragraphs, all the text is written after each other.

12:43 above line outcommended so no alterations in wplm-cusotmizer.php
– course news mail:nice e-mail template with plain text with  html code within

12:53 changed line 3201 buddypress core-function.php back to content-plaintext
result: course news mail:nice e-mail template with plain text with  html code within

12:56 add the line  add_filter( ‘bp_email_use_wp_mail’, function() { return false; },99); to wplms-customizer.php again
result: course news mail:nice e-mail template with plain text with  html code within

12:58 above line outcommended and:
add the line  add_filter( ‘bp_email_use_wp_mail’, function() { return true; },99); to wplms-customizer.php again
result: No e-mail was send

12:59 above line outcommended and:
add the line add_filter( ‘wp_mail_content_type’, function( $content_type ) { return ‘text/html’; },9999999);  again
result: course news mail:no e-mail template with plain text with  html code within no paragraphs, all the text is written after each other.

13:01 above line outcommended so no alterations in wplm-cusotmizer.php and no alterations in buddypress core-function.php
back to the situation at 12:19
result: course news mail:nice e-mail template with plain text with  html code within

11:41
wplm-cusotmizer.php added:
function wpse27856_set_content_type(){
return “text/html”;
}
add_filter( ‘wp_mail_content_type’,’wpse27856_set_content_type’ );
result: No e-mail was send

11:46 above lines outcommended and:
wplm-cusotmizer.php added:
function wpse27856_set_content_type(){
return “text/pain”;
}
add_filter( ‘wp_mail_content_type’,’wpse27856_set_content_type’ );
result: No e-mail was send

11:47 deleted everything I did above


result:

22 april 2020

1 reacties op "test html nieuws 11:47 22-4-2020"

  1. Thank you for another informative web site. Where else may jujst I am getting that kind of inmfo written in such a
    perfect means? I have a challenge that I am just now operating on, and I have been oon the glance oout for
    such information.
    php patterns

Laat een bericht na

Het e-mailadres wordt niet gepubliceerd. Vereiste velden zijn gemarkeerd met *

Omdat een foto zonder haakje niet blijft hangen