- π¨π¦Canada zread
Ran into this issue with Drupal 9.5.x and Webform 6.1.3. After further digging it turned out that the form was configured to send emails and was pulling the "From name" from the text field with the comma.
Example of user input in the text field: "Abc,abc"
Error encountered in logs for reference:
Uncaught PHP Exception Drupal\Core\Entity\EntityStorageException: "Email ""Abc" does not comply with addr-spec of RFC 2822." at /docroot/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php line 815
How to reproduce
There's another issue with full steps on how to reproduce this here:
https://www.drupal.org/project/webform/issues/3223017 π Drupal\Core\Entity\EntityStorageException: Email does not comply with addr-spec of RFC 2822. Closed: outdatedUnfortunately it was marked as closed, but was never actually fixed. Figured I'd add a comment here in case anyone else Googles this issue.