Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow using emails with display name #510

Merged
merged 1 commit into from
Jul 5, 2023

Conversation

alexsegura
Copy link
Contributor

@alexsegura alexsegura commented Jul 5, 2023

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 core23 added this to the 2.3.0 milestone Jul 5, 2023
@core23 core23 merged commit a1858ae into nucleos:2.3.x Jul 5, 2023
@core23
Copy link
Member

core23 commented Jul 5, 2023

Thanks @alexsegura

@alexsegura alexsegura deleted the address-create branch July 5, 2023 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants