Problem with getting HTML email to work.
-
Hello,
I am having an issue getting HTML email to work correctly. Right now if a user receives an email, they receive it in about 3 seconds with plain text.
I have searched the forum on this topic which as led me to the bp_email_use_wp_mail filter. When I disable this filter via the function below:
function my_prefix_bp_wp_mail_html_filters() {
add_filter( ‘bp_email_use_wp_mail’, function( $bool ) {
return false;
}, 1, 1 );
add_action( ‘init’, ‘my_prefix_bp_wp_mail_html_filters’ );The html email works. However, the email is severely delayed, with a wait time of over 4 minutes. I am hoping someone who is more versed in this might have an idea why disabling this filter would enable html but cause a huge delay in receiving emails. I use bluehost as a server with squirrelmail.
Thank you
- You must be logged in to reply to this topic.