- Issue created by @promes
- Status changed to Closed: duplicate
over 1 year ago 5:47pm 26 November 2023 - πΊπΈUnited States tr Cascadia
π RfcComplianceException: RFC 2822 Needs work
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.
Closed: duplicate
Code
π RfcComplianceException: RFC 2822 Needs work