• Resolved rbmg-wp

    (@rbmg-wp)


    Hello,

    Been doing a lot of testing. Can’t get the message {POST} content to get sent in the body of the email. It does get sent in the 4 test emails when you click the preview button in settings.

    Settings in use:

    Subscriber set to HTML-FULL
    Message body gets posted to the blog fine and is present there.
    Using per post notifications.

    Any clues please?
    Many thanks
    Liz

    https://www.ads-software.com/plugins/subscribe2/

Viewing 15 replies - 1 through 15 (of 33 total)
  • @liz,

    Please can you post your notification email template. Also are you including your themes CSS in the HTML emails in Subscribe2->Settings.

    Have you also checked for plugin conflicts by making a post with ONLY Subscribe2 active?

    Thread Starter rbmg-wp

    (@rbmg-wp)

    Hi mattyrob,
    Thanks for your reply.
    Email template is below. Yes, CSS in HTML emails is set to yes.
    I am using a number of plugins, main one likely to affect this is Postie – do you know if they generally play well together?
    Postie is set to prefer HTML and appears to work fine at its end.

    Many thanks,
    Liz
    ————template below——
    {AUTHORNAME} has posted a new item in {CATS} on {BLOGNAME} Website.
    ‘{TITLE}’

    Message below:

    {POST}

    ==========
    NOC NOTES:
    You received this e-mail because you are subscribed to the [{CATS}] message category on the new NOC website. To reply to the group, cc [redacted] and prefix your subject with the message category – eg [Buyers] . Messages without a prefix category in the subject will go to all NOC members by default. For any queries about that, please email Liz Flower on the address below.

    Best regards,
    [sig moderated as per the Forum Rules]

    @liz,

    Postie and Subscribe2 have not worked well together in the past. If you are getting emails sent with you send an email and blog through Postie that is an improvement but I suspect it’s still not 100% compatible.

    Have you tried this one:
    https://www.ads-software.com/plugins/post-by-email/

    Thread Starter rbmg-wp

    (@rbmg-wp)

    Hi mattryrob,
    I tried post-by-email as you suggested but unfortunately it’s requirement to use a pin code is unworkable. Plus it doesn’t handle group membership posting permissions like Postie does.

    Do you know of any other solutions out there? Otherwise, would you have any hints as to areas to target in terms of writing a bug fix specification? Of course, nobody can tell me if the problem is Postie or Subscribe2…

    Thanks very much for your thoughts. ??
    Liz .. Oh, could you do me a favour and remove the email addresses from my post above? Sorry – I can’t seem to edit it…

    @liz,

    I’ve marked this thread for moderator input as only they can remove the email address for you.

    Am I right in thinking that the Subscribe2 email works fine if you blog in a web browser but not when using Postie?

    I’ll need to have a look at the Postie code before I can suggest any fixes.

    Thread Starter rbmg-wp

    (@rbmg-wp)

    Just tested it and yes that is correct.
    Thank you for your prompt responses! ??

    Let me know if you want me to send a Postie debug

    @liz,

    Okay so the glitch is clearly a plugin conflict, it seems that Postie is perhaps not populating all the data needed by Subscribe2 in time. I’m not sure what a Postie debug is – can you tell me?

    @liz,

    When you send the email to Postie are you using ‘excerptstart’ and ‘excerptend’ in the email body at all?

    Thread Starter rbmg-wp

    (@rbmg-wp)

    Hi Mattyrob,

    A postie debug – is just my term for paying someone to come up with a fix for it. Of course I’d rather not pay as we are a not-for-profit and it would have to come out of my own pocket.

    No, we are NOT using the ‘excerptstart’ and ‘excerptend’ when we email to postie – we want the whole message and everyone is subscribed via HTML full.

    I need to minimise code in the email because lots of basic users need to be able to post via plain old email.

    Apologies if this sounds too lamens or naiive, is there anyway you can delay Subscribe2’s sending of the notification by a few seconds to allow Postie to finish?

    Thank you once again for your comments.

    Thread Starter rbmg-wp

    (@rbmg-wp)

    Oh, I see what you mean by a Postie debug now. When you run Postie manually, you have the option of running in debug mode which outputs all the code and message content as it fits into the postie settings. I can send you that if it would help?

    @liz,

    Subscribe2 in free form sends plain text emails to Public Subscribers and sends the Registered Subscribers the email based on their personal settings in Subscribe2->Your Subscriptions. HTML emails for Public Subscribers is a paid upgrade.

    All that said we still need to figure out why Postie email blogs are not generating any content in Subscribe2. I’ve tried looking at the code in Postie and it does seem to be calling the right WordPress functions to trigger Subscribe2 and indeed it is – it’s just that some of the content is not working.

    So, let’s see what the debug says if you can post it.

    I’m the author of Postie and I suspect that the issue is that Postie creates a blank post initially then updates the contents along the way.

    @wayne,

    I had seen that Postie created an empty post but I presume it will create the post with a ‘draft’ post status.

    Subscribe2 only triggers on certain transition hooks such as draft_to_publish, pending_to_publish etc so provided the content is added before such a hook is called then the content should be available to Subscribe2.

    Thread Starter rbmg-wp

    (@rbmg-wp)

    Hi @mattyrob, @wayne,

    Just to clarify, all my recipients are registered users, sorry if I confused you in my first post. I am using the free version. Happy to make a donation though if either of you can get this fixed! ??

    Do you still need me to send you the postie debug output? It is too big to post here so I would have to link to it somehow – or can I email it?

    Kind regards,
    Liz

    Thread Starter rbmg-wp

    (@rbmg-wp)

    I have uploaded the Postie debug file to my web host here:
    https://readywebhosting.com.au/files/postie-debug-1.txt

Viewing 15 replies - 1 through 15 (of 33 total)
  • The topic ‘{POST} is empty in live email, but present in preview tests’ is closed to new replies.