nucleos / NucleosProfileBundle

👤 Registration and profile management for symfony
https://docs.nucleos.rocks/projects/profile-bundle/
MIT License
11 stars 11 forks source link

Allow using emails with display name #510

Closed alexsegura closed 1 year ago

alexsegura commented 1 year ago

When the bundle is configured like this:

nucleos_profile:
    registration:
        confirmation:
            from_email: "Foo <foo@bar.com>"

It throws the following exception:

Email "Foo <foo@bar.com>" does not comply with addr-spec of RFC 2822.

Using Address::create fixes this. It's done like this in NucleosUserBundle

core23 commented 1 year ago

Thanks @alexsegura