Skip to content

Email Service overview shows unsupported "email": [{"name":"EMAIL_HANDLER"}] Wrangler config #33252

Description

@catwithlover

Existing documentation URL(s)

What changes are you suggesting?

The Email Service overview currently shows this Wrangler configuration:

// Email routing
"email": [
  {
    "name": "EMAIL_HANDLER"
  }
]

However, inbound Email Routing is handled through the Worker's exported email() handler, and the current Wrangler schema/configuration reference does not appear to define a top-level email binding/config field.

The newer Wrangler-managed routing configuration appears to use addresses instead.

Is the email example stale or incorrect? If so, it should probably be removed or replaced with an addresses example once that feature is documented.

Additional information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions