Skip to content

[Mailer][DX] failing in case there is no "from" or "to" #33753

Closed
@Nek-

Description

@Nek-

Description
I just lost like 30min because I forgot the ->setTo($to). I think the mailer should trigger an exception in case it's missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugDXDX = Developer eXperience (anything that improves the experience of using Symfony)MailerStatus: Needs Review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions