Skip to content

@emdash-cms/sandbox-workerd@0.8.0

Choose a tag to compare

@emdashbot emdashbot released this 25 Sep 09:51
· 138 commits to main since this release
2f37f33

Minor Changes

  • #3333 26f2076 Thanks @swissky! - Adds optional cc and replyTo fields to plugin email messages, including from sandboxed plugins:

    await ctx.email.send({ to, cc: ["team@example.com"], replyTo: visitorEmail, subject, text });

    ctx.email.send() throws when cc is not an array of strings or replyTo is not a string. email:beforeSend, email:deliver, and email:afterSend hooks receive both fields on event.message, and the development console provider prints them. The Cloudflare email provider delivers both, and a message's replyTo overrides the provider's configured replyTo. Custom email:deliver providers should pass cc and replyTo to their email service.

Patch Changes