Skip to content

[Bug]: Remove empty Cc: header #301

@jesperordrup

Description

@jesperordrup

Description

It seems that bulwarkmail always adds the Cc: header even if its empty. Its introduced by the webmail client as it doesnt happen with other clients (thunderbird).

Spam typically have empty To/Cc

RFC 5322 (Internet Message Format)
- Section 3.6.3 Destination address fields defines:
- To: and Cc: use address-list (non-empty)
- Bcc: is the one explicitly allowed to be empty in normal syntax

Steps to Reproduce

New email.
add To:
Dont touch cc:
Fill in subject and body
Send

Expected Behavior

No CC header

Actual Behavior

Adds CC header

Bulwark Version

1.6.5

Stalwart Mail Server Version

0.16

Browser

No response

Operating System

Linux

Screenshots / Screen Recording

No response

Relevant Logs or Error Output

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions