github emdash-cms/emdash @emdash-cms/sandbox-workerd@0.8.0

3 hours ago

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

Don't miss a new emdash release

NewReleases is sending notifications on new releases.