Email does not comply with addr-spec of RFC 2822

Created on 26 November 2023, over 1 year ago

Problem/Motivation

I got this error: Symfony\Component\Mime\Exception\RfcComplianceException: Email "<info@kunstbehoudgroningen.nl>" does not comply with addr-spec of RFC 2822. in Symfony\Component\Mime\Address->__construct() (line 54 of /xxx/drupal/vendor/symfony/mime/Address.php).
I get this error when I inform a new user about its account or send a message by a contact form.

The mail validator in Address.php expects a name to accompany a <emailaddress>. While debugging, I see that the validator is called twice, once with name and <emailaddress> and the second time without a name.

πŸ› Bug report
Status

Closed: duplicate

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands promes

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024