Change record status: 
Project: 
Introduced in branch: 
8.0.x
Introduced in version: 
8.0.0-beta7
Description: 

The valid_email_address() function is deprecated and replaced with equivalent functionality provided by the email.validator service. Code can be easily changed as follows:

Before

valid_email_address($mail)

After

\Drupal::service('email.validator')->isValid($mail)

Comments

andypost’s picture

There's interface for that since 8.7 https://www.drupal.org/node/2997196