Support » Plugin: bbPress Notify (No Spam) » HTML Entities encoded twice in email

  • Resolved ultimatenico

    (@ultimatenico)


    Hey there!
    I do encountered a kind of nasty problem with received emails.
    When an email is send, following happens:

    While in my WP backend I set the Text to something like “Hello! Blah Blah.”, in the email I receive this text turns to: “Hello!! Blah Blah .”.
    One would expect that the entities get encoded and decoded properly. But after some research, I found out that somehow the character “.” gets encoded into “.”, and then, somehow, the “&” of that Entity get’s encoded again. So that at the end we have “.” – which the email client correctly decodes to “.”, sadly.

    Emails get send with bbpNNS and WP Mail SMTP via Google Mail (otherwise, email provider GMX (which, unfortunately, is very famous in germany) won’t deliver the emails – not even in the spam folder).

    WordPress Version: 4.9.5

    What I already tried:
    Deactivating certain plugins (buddypress and WP Mail SMTP)
    Every possible change in the bbpNNS settings
    Every possible change in other certain plugins

    So now, I’m at my wit’s end with solving that problem on my own. I would be greatly thankful if you could help me.
    Thank you very much in advance!

    In addition, I have made some screenshots telling what plugins I use and what my settings of the bbpNNS plugin are.

    Settings of bbpNNS: https://www.dropbox.com/s/xis8mvppvoc4859/foren.png?dl=0
    Installed Plugins: https://www.dropbox.com/s/zj4lll2cz42rd5u/plugins.png?dl=0

    Email that get’s displayed for the Viewer:
    Hello!
    
This is a test

    #############

    Email in detail:

    Received: from 843943150999 named unknown by gmailapi.google.com with HTTPREST; Wed, 4 Apr 2018 06:40:54 -0700
    Date: Wed, 4 Apr 2018 06:40:54 -0700
    From: xxx@xxx.xx
    Message-Id: <CAJC9VND392NVgSh70Et7r-vWb3_LQEEL9DmxneO4fWMMbNLGsg@mail.gmail.com>
    X-Mailer: WPMailSMTP/Mailer/gmail 1.2.5
    X-Built-By: bbPress Notify (No-Spam) v.1.18 (http://wordpress.org/plugins/bbpress-notify-nospam/)
    MIME-Version: 1.0
    Content-Type: text/html; charset=UTF-8
    To: xxx@xxx.xx
    Subject: [my.webadress.de] Antwort auf: Guten Tag

    <p>Hello&excl;<br />
    &NewLine;This is a test</p>

    • This topic was modified 3 years, 5 months ago by ultimatenico.
    • This topic was modified 3 years, 5 months ago by ultimatenico.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author useStrict

    (@usestrict)

    Guten tag @ultimatenico!

    Can you email me the text version of a topic or reply that is causing the issue? I’d like to try and replicate it on my machine.

    Send it to vinny [at] usestrict [dot] net.

    Cheers,
    Vinny

    Thread Starter ultimatenico

    (@ultimatenico)

    &period;

    • This reply was modified 3 years, 5 months ago by ultimatenico.
    Thread Starter ultimatenico

    (@ultimatenico)

    (Please ignore the reply up there – I was just testing, wanted to edit and then wordpress.org prevented me from doing so since it took me too long. I’m such a slow and lame ass sometimes :’D )

    Guten Morgen! 🙂

    As I stumpled into the support forum today, I recognized that there’s a minor issue with my original topic.
    It seems the forum software on wordpress.org (someone knows if it’s bbpress as well?) did a little unwanted encoding/decoding.

    Once again:
    In the Forum theres a topic or reply saying “Hello folks!”. The “!” gets then encoded into “& e x c l ;”. Then, the “&” of “& e x c l ;” gets again encoded into “& a m p ; e x c l ;” – everything without whitespaces, of course.

    I don’t know exactly what you mean by “text version” of a topic or reply (since I only wrote into the Reply E-mail body of the plugin settings a simple “Hello! This is a Test” – with a New Line right behind the exclamation mark), but as soon as I’m done with this reply, I will send you googles text-version of the email.
    I also could give you an account for the forum I am working on – but sadly, I am not allowed to give you any access to the backend. It would be an account only as normal user of a forum, no admin-stuff.

    I hope this could help resolving the issue. Thank you really really much for all your help!

    Greetings,
    Nicola

    [ Please do not bump. ]

    Plugin Author useStrict

    (@usestrict)

    Hi Nicola,

    Sorry, I thought I had replied but it looks like I didn’t. I need to be able to replicate the issue on my test environment, but I can’t with the setup that I have. Can you create a staging site and get me admin access to I can investigate further?

    Thanks,
    Vinny

    Thread Starter ultimatenico

    (@ultimatenico)

    Hey Vinny,
    since I do not have the full power of decision over this wordpress-forum, I’m not sure if at the end I will be allowed to give you access. Though I will contact the person being in charge with the forum.
    This might take some days, maybe even until next tuesday. So please do not wonder!

    Thank you very much,
    Nicola

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘HTML Entities encoded twice in email’ is closed to new replies.