Best Way to Send Automated Feedback Emails After Upload – Next.js + Vercel?
Unanswered
Devon Rex posted this in #help-forum
Devon RexOP
Quick question: In my Next.js/Vercel medical app (alephra.com), when users upload medical reports to POST /api/reports, I'd like to automatically send them an email asking for feedback ('How was your experience?'). What's the easiest/best way to trigger this email right when the API route succeeds? Should I use SendGrid, Nodemailer (with Vercel Edge/Serverless), or is there a simpler solution you recommend for fast development? Bonus points for a code snippet or example. Thanks!
2 Replies
>What's the easiest/best way to trigger this email right when the API route succeeds?
using after() API and using Resend
using after() API and using Resend
iven't tried SendGrid but ive beard setting up Nodemailer on your own is hard not to mention your emails ending up in spams.