Resend/React email Next.js, Email destination[to: ] only works with my personal email address

112 Views Asked by At

I managed to integrate resend and react email logic to send custom emails to my personal email address that also was used to sign in into resend web app. The issue comes when placing a different email in the resend.emails.send({...,to:["an_email"],...}) command.

It only works for 1 email, for any other email I use, the message is not being delivered

 const html = render(
      CustomEmail({
        name: "miguel",
      })
    );
    console.log("html is: " + html, email);
    const res = await resend.emails.send({
      from: "Acme <[email protected]>",
      to: [email],
      subject: "Titebond email verification",
      // html: "<strong>It works!</strong>",
      html,
    });
0

There are 0 best solutions below