Skip to content

IEmailSender has no Cc/Bcc — a message with copied recipients cannot be delivered as one mail #3473

Description

@rbuergi

IEmailSender.SendEmail(toAddress, subject, htmlBody, attachments, delivery) takes ONE recipient and no Cc/Bcc, and SendDocumentDispatch.ExportAndSend therefore sends one mail per recipient. A client mail with a To and seven Cc — the ordinary shape of a business mail — cannot be delivered as the one message the sender approved: the recipients would each get a separate mail with no Cc line, and replies would not reach the copied people. The Graph implementation builds a Message that supports Cc, so the gap is the contract, not the transport.

Ask: an overload (or an EmailMessage record) carrying To, Cc, Bcc, Subject, HtmlBody, Attachments, EmailDelivery, with the no-op and SMTP senders refusing (not silently dropping) Cc they cannot honour. This is what would let Essentials/Email's Send actually deliver — through the user's connected mailbox, with the PDF exports of its attachments — instead of only recording the send, and show the plan (from, to, cc, subject, attachments) before the click.

🤖 Generated with Claude Code

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

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions