Coder Social home page Coder Social logo

SendPasswordResetEmail Doesn't Display Reset Link in Received Emails Due to Formatting Issue with <> characters about wp-graphql HOT 3 CLOSED

nestarz avatar nestarz commented on September 26, 2024
SendPasswordResetEmail Doesn't Display Reset Link in Received Emails Due to Formatting Issue with <> characters

from wp-graphql.

Comments (3)

jasonbahl avatar jasonbahl commented on September 26, 2024

I don't believe WPGraphQL modifies anything in the email? It just sends it.

If something in the email is invalid, I believe it's a core thing, or someone filtering the email.

If you do a "password reset" from the core WP login page, is the email different than what is sent from sendPasswordReset mutation?

from wp-graphql.

nestarz avatar nestarz commented on September 26, 2024

I think it's my host provider namecheap's EasyWP who is doing something to my email as I changed the SMTP server and now ok. Really weird scenario.

But maybe its something about the headers. From the reset mail from the core WP login page I have these relevant headers:

X-Mailer: PHPMailer 6.8.0 (https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

and from the WpGraphQL

X-Mailer: PHPMailer 6.8.0 (https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8

And from the WPGraphql plugin I have in the original HTML content of the email the <> who I still think prevent the displaying of the link. That's super odd, I don't know who's fault.

from wp-graphql.

jasonbahl avatar jasonbahl commented on September 26, 2024

I'm going to close this as I don't believe there's anything actionable in the WPGraphQL repo to help here.

If you find further evidence that WPGraphQL is doing something to cause unexepected behavior, and you have steps to reproduce consistently, open a new issue and reference this one and we can take a look.

from wp-graphql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.