• We’ve been having an issue where the daily digest is outputting the html instead of formatting. The strange thing is all the other emails from this plugin work fine, just not that one. I downloaded the latest one from github too just to make sure but it’s gone out again wrong.

    The other thing that complicates the issue is that we have switched over to using Elastic Email for all emails going out through our WordPress/Buddypress installation. However, as the email is sent multipart, I assume that the email would look ok?

    Are the other emails just plaintext or are they are html+plaintext?

    https://www.ads-software.com/extend/plugins/buddypress-group-email-subscription/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author r-a-y

    (@r-a-y)

    It should be sent in multipart.

    What plugins specifically are you using with regards to emails on your WP install? Can you list them with links to their wp.org repo?

    Also, try deactivating your Elastic Emails plugin and see if that affects the digests.

    Thread Starter becskr

    (@becskr)

    We are using only using Wysija https://www.ads-software.com/plugins/wysija-newsletters/
    and the Elastic email plugin https://www.ads-software.com/plugins/elasticemailv1/

    Elastic email said that basically there is nothing being passed as html into their rest api, so the html output is being fed into the rest API as the plaintext option. Thing is, in that EE plugin, there’s nothing you can do to edit it.

    I’ve temporarily just set the html body to be $message_plaintext to stop any issues temporarily as emails are being rejected as spam in their current form.

    I can’t deactivate the plugin, but it was working before we moved to EE.

    Rest API info: https://elasticemail.com/api-documentation/send

    Plugin Author r-a-y

    (@r-a-y)

    ElasticEmail plugin is not coded to WP standards.

    They override wp_mail() and bundle their own version of wp_mail().

    If possible, if Elastic Email supports SMTP, grab their SMTP settings and use any WP SMTP plugin and use that instead.

    Here’s a quick doc article I found on Elastic Email’s site about their SMTP settings:
    https://support.elasticemail.com/kb/smtp-faq/what-smtp-ports-are-supported

    Thread Starter becskr

    (@becskr)

    Thank you so so much. I would never have worked this out in a million years. I have changed it now and hopefully everything will be ok tomorrow.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Daily digest appears as html code’ is closed to new replies.