Closed AliReza1083 closed 2 weeks ago
I am trying to send email through API router in Next.js.
It is working fine in localhost but not in production. I am also using ngrok, it is working fine there but not in the real production.
This is the error I get:
No response
https://github.com/AliReza1083/Portfolio/blob/main/app/api/comment-email/route.ts
I don't know how to reproduce the bug but you can use API route and send email but try it on production.
I expect it to send email in production.
Latest
I had to use the latest version of @react-email/component
His issue was that it was timing out due to using the older, slower version of @react-email/tailwind.
@react-email/tailwind
Describe the Bug
I am trying to send email through API router in Next.js.
It is working fine in localhost but not in production. I am also using ngrok, it is working fine there but not in the real production.
This is the error I get:
Which package is affected (leave empty if unsure)
No response
Link to the code that reproduces this issue
https://github.com/AliReza1083/Portfolio/blob/main/app/api/comment-email/route.ts
To Reproduce
I don't know how to reproduce the bug but you can use API route and send email but try it on production.
Expected Behavior
I expect it to send email in production.
What's your node version? (if relevant)
Latest