Worker send_email binding for page functions

I’m guessing the answer is no, but is it possible to use the “send email from workers”(https://developers.cloudflare.com/email-routing/email-workers/send-email-workers/) functionality from page functions?

The worker email functionality requires a send_email binding in wrangler.toml. Functions do not support wrangler.toml, but instead appear to have their bindings configured using the Web UI, which does not include a send_email binding.Preformatted text.

I understand the worker functionality is still beta - is it likely we’ll see this added to functions?

Unfortunately as you suspected, Pages only supports a limited subset of bindings today, with send_email not being one of them.

Hopefully in the future we’ll see this added!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.