• Resolved nilsonsmf

    (@nilsonsmf)


    Hi,

    My users are receiving emails just fine, but when I use {{POSTFULL}} tag on template it shows no content, inspecting mail source I found the follow code instead:

    <!-- wp:block {"ref":74} /-->

    Template preview displays the post fine.

    I’m using only 2 plugins: WP Mail SMTP and Email Subscribers. Both of them and WP are in the latest version.

    Thanks in advance.

    • This topic was modified 4 years, 11 months ago by nilsonsmf. Reason: Adding info about template preview
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter nilsonsmf

    (@nilsonsmf)

    Hi!

    It seems this did the trick

    diff --git a/htdocs/wp/wp-content/plugins/email-subscribers/lite/includes/classes/class-es-handle-post-notification.php b/htdocs/wp/wp-content/plugins/email-subscribers/lite/includes/classes/class-es-handle-post-notification.php
    index c064916..d9e9b73 100644
    --- a/htdocs/wp/wp-content/plugins/email-subscribers/lite/includes/classes/class-es-handle-post-notification.php
    +++ b/htdocs/wp/wp-content/plugins/email-subscribers/lite/includes/classes/class-es-handle-post-notification.php
    @@ -260,6 +260,7 @@ class ES_Handle_Post_Notification {
     
     		// Get full post
     		$post_full     = $post->post_content;
    +		$post_full     = do_blocks($post_full);
     		$post_full     = wpautop( $post_full );
     		$es_templ_body = str_replace( '{{POSTFULL}}', $post_full, $es_templ_body );
     
    
    Plugin Contributor Kishan Ranawat

    (@kishanranawat)

    Hi there,

    We have checked this issue on our end but couldn’t replicate it.

    Can you please share a sample post content and email template HTML with us to look into it?

    Thank you.

    Plugin Contributor Kishan Ranawat

    (@kishanranawat)

    Hi there,

    We haven’t heard back from you in a while. Can you please confirm if the issue still exists?

    If yes, then please share a sample post content and HTML of the email template being used to send the email. We will check it and try replicating the issue on our end.

    Thank you.

    Plugin Contributor Kishan Ranawat

    (@kishanranawat)

    Hi there,

    We haven’t heard back from you in a while.

    Hoping that the issue might have already been resolved, therefore I am closing this thread.

    If you have any further questions, feel free to start a new thread.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Not rendering email’ is closed to new replies.