Hello! I recently inegrated RESEND email for my websites shop. The /test-email works fine but when acting as a user of the deployed website, I do not receive an email notification in my gmail.
Can you please help?
Thank you!
@amyegan @alex-hawley @ethanshea @jacobparis
I am tagging random people for help lol.
Have you checked your resend dashboard? It shows the reason why the mail is not sent.
Hi! Yes, it only works from the vercel app email test module. If i go to my deployed site and try to complete an order, no email notification is sent.
It didn’t give me any useful information.
It seems that everything is fine on the resend side. I believe the issue is vercel. I can send test emails from inside vercel.
@amyegan @spencerattick @ethanshea @nateclev @dcoy @sharath39 @jacobparis @lucleray any advice?
Sorry for blowing you up I am very confused.
Thank you!!
Are you trying to send an email to your self only or to other mail?
Cause resend doesn’t allow a mail to be sent to yourself only when deployed
So i need to have my email, and an additional email for the notification to be sent to???
Thank you so much for the reply bro.
Yes, just don’t send mail to yourself in deployment.
So if you are using suppose: <your_name>@gmail.com in from field so in the to field don’t insert <your_name>@gmail.com again. It will cause resend to cause the error since they don’t support this in deployed version.
Sorry bro I am confused. I have one email I am using for this. Could you explain me step by step where to go from here? I apologize lol. Thank you!!
Just don’t use that mail in the “to” field of resend.
Okay, I think I get it, where can I change this?? Do I leave the “to” field blank? Sorry, still a little confused. The notification from the site store needs to go somewhere.
It would be in your code. Not in resend.
Just check the code you have written for resend to use the user’s email rather than your’s.
I need to receive an email notification every time the user creates an order, so they would receive an email, and so would i. How do i get both?
Use any other mail of your’s and for the users same.
You can call two functions of Resend in your code for it.
Still confused, can you please tell me step by step? I have one email i have given vercel. What do i do next? Can you write the prompt for me please???
@vercelscott @amyegan @nateclev @simonstrumse @jacobparis @thomasrosen-brandung
Can you help please?
I’m not sure I know exactly what step you need help with. But there are some existing resources you can use to copy code and read about Resend configuration. Please give these a try and let us know how it goes!
- React Email with Resend template and repo (I deployed a test from this to make sure it works, just make sure you’ve added the RESEND_API_KEY environment variable)
- Send emails with Resend Node.js SDK
Hope that helps!
Hi Amy, nothing helps. No one will help me, I am just trying to get resend to work, and I cannot do it to save my life. I have been spending hundreds of dollars trying to get this site up, and I’m about to be fired from this task.
Please help me
I haven’t been able to replicate the problem. Resend works for my test projects. Without seeing your project code, this is the best general advice the rest of us can give:
- Precisely follow the setup steps in the Resend documentation. Use the appropriate instructions for your project (e.g. Send emails with Next.js)
- Make sure you have all necessary environment variables correctly added in project settings.
- Check the Emails list in your Resend dashboard. Messages you’ve sent should appear there.
- If they are in that list but not in your inbox, check the spam or junk folder. It’s also worth checking your email provider’s settings for blocking or auto-deletion of suspected junk email.
- If they are not in that list, there may be connection issue between your Resend account and your Vercel project.
It’s a good idea to check with Resend support. They may have seen this kind of issue before and know some tricks to solve it.
If you still need help from the Vercel community, please share a minimal reproducible example or your project’s public repo. That will let us work together to debug this.
Resend support has done nothing. it was literally working fine yesterday but i had to recreate the shop because i couldnt get the info fields in checkout to use spacebar. now that is fixed, email doesnt work. i have installed and uninstalled several times…i am wasting soooooooo much money trying to do the most simple thing. the api key is correct, i verified dns i did everything, and now it just glitches and gives me errors. this is on v0 side. Can I just give you my project url or something? i dont know what to do here. everytime i install resend again it doesnt work.