-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
awaiting reporter responseNeeds clarification or followup from OPNeeds clarification or followup from OPbugSomething that isn't workingSomething that isn't workingneeds reproductionNeeds reproduction from OPNeeds reproduction from OP
Description
What versions & operating system are you using?
4.42.2
Please provide a link to a minimal reproduction
No response
Describe the Bug
When I define binding inside wrangler config:
"send_email": [
{
"name": "SEND_EMAIL",
"destination_address": "[email protected]"
}
]
Email binding is undefined, when i re-generate types (and properly detect emails binding) its still undefined.
When i took command from CF, created plain wroker:
pnpm create cloudflare@latest my-first-worker
Binding works as it should.
Currently I am using D1 db binding which it working without any issues (so not a problem with config on my side) but when it comes to email binding (and sveltekit adapter) its always undefined.
Additionaly, during build step when i am trying to import emails from CF i am getting this error as well:
Cannot find module 'cloudflare:email' imported from
Please provide any relevant error logs
No response
Metadata
Metadata
Assignees
Labels
awaiting reporter responseNeeds clarification or followup from OPNeeds clarification or followup from OPbugSomething that isn't workingSomething that isn't workingneeds reproductionNeeds reproduction from OPNeeds reproduction from OP
Type
Projects
Status
Untriaged