topher
topher
CDCloudflare Developers
Created by Devallar on 9/22/2023 in #pages-help
Sveltekit + Cloudflare Pages + Resend
I’m not seeing immediately what api svelte-email uses for requests but I suspect it’s the node api. Workers only support web APIs, like a browser. You can’t use http.get or axios. You may be able to configure svelte-email to use fetch(). I had a similar problem with postmark. Solution for me was https://blog.cloudflare.com/sending-email-from-workers-with-mailchannels/
2 replies