tmcltr
tmcltr
CDCloudflare Developers
Created by tmcltr on 5/23/2024 in #pages-help
Sending email with Resend from a Pages instance
Is it possible to use Resend with Pages? It sounds like people are successfully doing this, but I must be missing something. I followed the instructions here: https://developers.cloudflare.com/workers/tutorials/send-emails-with-resend/#enable-mailchannels-for-your-account---domain-lockdown I've got this on line 1 of my function:
import { Resend } from 'resend';
import { Resend } from 'resend';
But my deployments fail with
ERROR: Could not resolve "resend"
ERROR: Could not resolve "resend"
This makes me think either Resend is not supported, or I'm missing something very simple here.
5 replies