# Email Address Validation Must Account for Both Domain and Local Parts

DevFeed: [Email Address Validation Must Account for Both Domain and Local Parts](<https://devfeed.tech/articles/your-e-mail-validation-logic-is-wrong-30181.md>)

Original publisher: [Read original article](<https://www.netmeister.org/blog/email.html>)

Published: 2021-04-03T01:29:16Z

Content type: article

Language: en

Sources: [Signs of Triviality](<https://devfeed.tech/sources/signs-of-triviality.md>)

Topics: [email](<https://devfeed.tech/topics/email.md>), [domain](<https://devfeed.tech/topics/domain.md>)

Tags: [domain](<https://devfeed.tech/tags/domain.md>), [email](<https://devfeed.tech/tags/email.md>), [local](<https://devfeed.tech/tags/local.md>), [validation](<https://devfeed.tech/tags/validation.md>)

## AI overview

The article argues that email address validation is difficult because both the domain and local parts require careful handling.

## Source excerpt

Nope, you don't know how to validate an email address. Even if you think you'd get the domain part right, fuggeddabout the local part. Seriously.