Closed mcornielje090404 closed 5 months ago
Btw is there any way to make PR's to payload from outside the org? I'd happily raise a PR resolving this myself if possible.
@mcornielje090404 you can absolutely make a PR directly to Payload by forking the main repo here. Check out our contributing guidelines for some extra info when it comes to opening a PR.
I'll take a look at this issue too.
Hey,
I've been using the verify email flow from Payload and noticed that there's a bug with the way the verification email is sent.
When sending an email it is failing because the "address" used is the name passed into the email provider. This (in my use case) is causing Resend to block the email because it's not from a valid domain.
I've identified it to be in the file packages/payload/src/auth/sendVerificationEmail.ts
I believe you should just have to change the sendEmail function call at line 68 from
To: