Just as the title says, I have a Payload app running on Payload Cloud and for some reason, the Resend adapter and email system with Payload just stopped working approximately 2 weeks ago mainly within the auth automated email realm. Here is my adapter setup with resend...
// Imports
import { buildConfig } from "payload";
import { resendAdapter } from "@payloadcms/email-resend";
export default buildConfig({
db: mongooseAdapter({ url: dbUrl }),
serverURL: process.env.NEXT_PUBLIC_APP_URL || "http://localhost:3000",
email: resendAdapter({
defaultFromAddress: "example@example.com",
defaultFromName: "Example Name",
apiKey: process.env.RESEND_API_KEY as string,
}),
sharp,
plugins: [
payloadCloudPlugin({
email: false,
})
],
});
I am not entirely sure why it just stopped. I just tested locally as well and upon looking at the Resend dashboard, there aren't even API calls to the Resend system. Is this a known bug or have I misconfigured something? Would really appreciate another pair of eyes on this. ** Also wanted to add that I am not recieving any errors at all when I submit forgot password or anything like that. ** MORE TESTS: This seems to be more isolated to Payload's build in 'forgot password' workflow. I have tried to generateEmailHTML and also leave it default but the forgot password is never triggering emails.