- Issue created by @julien
- Status changed to Closed: duplicate
over 1 year ago 10:52pm 27 September 2023
Using \Drupal::service('email.validator')->isValid($email) with 'blah@blah' as $email is passing validation.
Try dump(\Drupal::service('email.validator')->isValid('blah@blah')); and it will show true, which is false.