Skip to content

symfony/mime should not require a 'To:' field if there is a 'Bcc' field. #36944

Closed
@ehymel

Description

@ehymel

Description
In symfony/mime version 5.0.8, the file Message.php introduced a new requirement was introduced for a 'To:' field in the email message. See line 125 here. For certain email distribution lists, it is desirable in many situations to hide the recipient list by placing recipients in a 'Bcc' field instead. The 'To:' field is not necessary and should not be required.

Desired behavior
Don't require a To: field when a 'Bcc' (or 'Cc'??) field is provided.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions