Nuxt 3 | Failing to fetch '/api/mail'

Hello, been working on a simple SMTP Mail system, however when trying to post data from the client to the server, '/api/mail', I get a 500 error.
POST https://smtp-mailer.pages.dev/api/mail 500 (Internal Server Error) entry.B-5-OyzN.js:23 Uncaught (in promise) FetchError: [POST] "/api/mail": 500
I only get this error on Cloudflare pages, I have tried the exact same GitHub branch locally on my computer and on another host, (idk if im allowed to name the host here so if relevant please dm me), and it works. Anyone have any solutions how to get this to work? 🙂 Page: https://smtp-mailer.pages.dev/ Account ID: 45e13ed72dfb497410ed197800530e91
SMTP Mailer
Free advanced online tool to send mails through your SMTP server. SMTP Mailer provides a full interface to mail from your Mail server on the fly.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server